views:

21

answers:

1

I have an application. i want to add in-app purchase.

I want to put one chapter purchasable. its already in the application just unlock it through plist.

so when user do purchase i dont want to download anything. just want to change the value in plist.

so is it possible? without downloading new build. can i unlock that chapter?

thank you in advance.

A: 

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.

taskinoor
Apple encourages you to choose between “Content,” “Functionality,” “Services,” and “Subscriptions” when considering the possible categories for your in-app offerings. then what type i have to select.i just want to update the flag.
RakeshBhatt
I mean to update the flag locally. When you get confirmed in the client that purchase is completed, then u can update the local flag in the client. Sorry, I'm not sure about the categories.
taskinoor