- Home /
What's the Logic for In App Purchases?
Just wondering what the best or recommended way to code for unlocked items when using in app purchases?
I'm not asking how to code for in app purchases, but rather, what the logic is after the user has bought something?
So, if the player bought something and the time is now unlocked, how do you code or that?
Do you use player prefs, or is there another way or a better way to go about this?
Thanks.
Don't use player prefs for this, I hear, as it's not secure. You will need some security on your players unlockables/purchases file.
Answer by mattssonon · Oct 10, 2013 at 09:47 AM
I would suggest you use Secured Playerprefs: http://u3d.as/content/taliwut/secured-player-prefs/3yA
If you're not interested in paying up, look at something like the answer to this question: http://answers.unity3d.com/questions/431469/secure-version-of-playerprefs.html
Answer by maxgreen · Oct 26, 2015 at 06:33 PM
I suggest posting this question on the SOOMLA forum as they are the experts in this, having made a widely popular IAP plugin: http://answers.soom.la/
Your answer
Follow this Question
Related Questions
What is the best way for me to have In-App Purchases? 2 Answers
u3dxt - in-app purchase ONLY 1 Answer
How to make an android app a "trial" version 2 Answers
Signing an Android application 1 Answer
Apple App Store question? 1 Answer