Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are InAPP purchases stored?

This may be a silly question, but I haven't been able to find the answer. Where on the device should InApp purchases be stored? Are they downloaded to the bundle?

like image 651
carloe Avatar asked Jul 19 '10 17:07

carloe


People also ask

Where do hidden app purchases go?

Hiding an app just removes it from the list of purchases. But if the app is already downloaded on your or your family member's device, it'll remain as it is.

What are Inapp purchases?

What are in-app purchases? In-app purchases are extra content or subscriptions that you buy inside an app. Not all apps offer in-app purchases. To check if an app offers in-app purchases before you buy or download it, find it in the App Store.

Where does in-app purchases go?

On the Google Play Store app, in-app purchases will be by the Price or Install button. On play.google.com/store, you'll see "Offers in-app purchases" below the name of the app.


2 Answers

You have to store them yourself. I'd use NSUserDefaults for simplicity.

They aren't saved to your app bundle, since that would invalidate the signature.

like image 89
tc. Avatar answered Sep 25 '22 14:09

tc.


I put up a pretty useful sample that includes saving your purchases to NSUserDefaults as tc said above. I agree, that's the way to do it.

Let me know if you have any questions about the sample code.

The App Tree - In App Purchase Sample - Free

like image 20
Brian C Singer Avatar answered Sep 25 '22 14:09

Brian C Singer