In App Validation During Simulation
I have an In-App-Purchase to unlock some options in my game, but once you click the home button or reset game, the in app purchases are locked again, is that normal? It is a boolean (true, false), not a consumable item.
I just want to make sure this is normal, or should it stay unlocked if my code is working correctly?
Thanks,
Jeff
I just want to make sure this is normal, or should it stay unlocked if my code is working correctly?
Thanks,
Jeff
Best Answer
-
stackpoole Melbourne, Victoria, AustraliaPosts: 473
make sure you have a save attribute some where in your game - e.g. in your "success" scene
then you also need a "load attribute at the start of the gameSydney Swans 2014!!
Answers
If you are doing all of that, you might be running into the old (but still valid) Load/Save issue (which does not Load or Saves). It seems that people agreed that writing the Key in the behavior text box works while writing the key in the expression box have problems.
Thanks!
As an example, if you don't save and relay on the Apple server, 3 things will happen:
1. Consumables will not be saved
2. If there is no network, players will not have their IAP items
3. You'll have pissed off customers
You have to use Save and Load for all IAP items. Apple will not do it for you. The IAP restore is for recovery or switching devices.