Reputation: 4606
I have an application. I want to add in-app purchases.
I want to put one chapter purchasable. It's already in the application, just unlock it through plist.
So when the user do purchase I don't want to download anything. I just want to change the value in plist.
So is it possible? Without downloading a new build. Can I unlock that chapter?
Upvotes: 1
Views: 545
Reputation: 46037
Why not? Many people unlock things without downloading. Just keep a flag in your plist and update it after purchase. In your code, before showing the chapter check the flag to test whether it is unlocked or not.
One things is you can not edit file that is in the resource directory. You need to save your file in document directory. If that is your problem, then this previous question might help you.
Upvotes: 1