getting a unique ID to store IAPs in keychain
getting a unique ID to store IAPs in keychain
- Subject: getting a unique ID to store IAPs in keychain
- From: Lou Zell <email@hidden>
- Date: Wed, 10 Aug 2011 16:14:43 -0700
Hi Devs,
I'm storing non-consumable In-App Purchases in the Keychain. I would like
to query the Keychain using a key that is specific to the iTunes account
that was used to make the purchase. It doesn't have to be the exact iTunes
account name, just something that is unique per account. Does something
like this exist?
Here is my dilema, in case there is a better way to approach this:
I have a UI element that kicks off -[SKPaymentQueue
restoreCompletedTransactions] so that users that have changed devices can
get their IAPs back. Now, without a unique ID that's tied to an iTunes
account, there is no stopping someone from logging in as their buddy (a
buddy that has already purchased all IAPs), opening my app and clicking on
Restore, then logging back into their own account. If there was a unique ID
that I could query the keychain on, then as soon as the accounts switched
back the IAPs would no longer be unlocked.
Am I thinking about this correctly? Oh, and just to preempt it, I know I'm
being overly paranoid :), just wondering if there is something in place for
this.
Best,
Lou
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden