Question about iPhone in app purchase options

I am working on the release of an application that will greatly benefit from the use of the app purchase model. The application is a kind of book viewer, and the content that I would like to make available for purchase will be more books in different languages. Each book is stored in sqlite format, in separate .db files. Now, as my developer installed all of this, he added a line at the bottom of the info.plist file called databases. Inside this section of the database, I can enter "es" as the key, and for the value, the name of the Spanish database, and it is populated in a uitableview in Spanish using NSLocale. Therefore, it is very easy to set up and implement various databases, which is great, but now I am confused about how I can implement my application purchase model. Sorry for the long introduction, here is my question: is it possible for an in-app purchase to add a line to my info.plist file? Or, if not, is it possible for the purchase to find a new and updated plist file that I would already install correctly? Any help here would be greatly appreciated. Thanks

0
source share
1 answer

You cannot edit the info.plist file dynamically. When you submit your application to the App Store, your application package, which includes info.plist, cannot change, because the signature created when compiling your application is based on the bundle.

You can purchase in-app purchases as you wish. You could have the data already saved in the application, and just unlock it when you purchase it in the application, or you can download the application to download new data in plist format or any other format. Services like ilime and Urban Airship make it really easy for you.

0
source

Source: https://habr.com/ru/post/1304387/


All Articles