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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to