Fellow Corona Devs, I was wondering where should I store subscription information (they paid, so provide paid content or not) and secondly, what is the recommended practice for the frequency of validating a current subscription via Apple?
I was planning on encrypting a variable and storing the output in an app data file located in the system.DocumentsDirectory. However, I was hoping that I’d learn that there is no need to encrypt the info because corona has a build in obfuscator that scrambles that file automatically once the app is build with a distrobution profile. Or I was hoping to read that the file cannot be accessed by anything but my app… but I was able to look at this file in plain text during development. I wouldn’t want somebody downloading my free app and modifying the app data file in the system.DocumentsDirectory and then getting all the paid content for free.
Regarding the frequency of checking on a subscription, I want to make sure that paid content is delivered and not hindered by a situation in which the user doesn’t have an internet connection when they use the app (lab or hospital). However, I also want to make sure to stop content upon cancellation or other. When I look in the documentation, it appears that it is suggested that the subscription is validated every time the app is started, which I not what I want to do. Maybe I’ve just been looking at introductory examples…
thanks for your input.
Rob [import]uid: 38348 topic_id: 35126 reply_id: 335126[/import]