IOS in app purchase, how to determine if app store user account has changed

I am creating an application that is required when purchasing an application. Everything works fine, but I have a problem.

I have a list of products to buy. When I purchase a product, I save the product ID in the default user settings, so I can provide content even if there is no internet connection.

Problem: User1 buys some products. User1 will log out of appStore (in settings). User 2 logs into the appStore. Open the application. Now user 2 will be able to see the contents of user1 unlocked.

How can I prevent this?

thank

+3
ios app-store account in-app-purchase


source to share


No one has answered this question yet

Check out similar questions:

958
How do I change the name of an iOS app?
680
How to connect to apps in the app store
55
"Can't Connect to iTunes Store" in Apps
54
SKPaymentQueue addTransactionObserver asks for a password for the App Store on startup after in-app purchase
fourteen
How to check ios in-app purchase on your server
five
Debugging apps in an app outside of the sandbox?
five
In App Purchase, user cancels tx while app is in background: tx state remains on purchase
2
Purchase a non-consumable app feature multiple times
1
Buying apps from the App Store in-app
1
"Buy All" In-app purchase resulting in unnecessary purchases If the app is reinstalled



All Articles
Loading...
X
Show
Funny
Dev
Pics