views:

80

answers:

2

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?

+4  A: 

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.

tc.
Also note that you can "restore" non-consumable purchases, which are saved on the app store, but you should only do this if the user requests it (the servers would get overloaded if you did it every launch).
tc.
+3  A: 

Hey Carloe -

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

Brian C Singer