How can I restore consumable item. when reinstall the app?
Acroxia
Member, PRO Posts: 52
First of all, I wrote it using a translator. Please excuse me.
I'm going to sell consumable items.
How can I restore consumable items. if the user reinstalls the app?
Comments
Hi there! So, consumable items are lost when the user reinstalls the app. We can, however, use the Restore Purchase behavior to restore non-consumable items e.g. if the player paid to unlock new levels, that is a non-consumable purchase and would need to be restored if the user reinstalled your game.
You can create a button that is labeled 'Restore Purchase' and put the Restore Purchase behavior in there.
Hope this helps!
GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com
As @uptimistik said, consumable items are not restorable in and of themselves. Games are expected to store consumables usage information on their own servers or on Game Center. We currently don't support Game Center game storage, so you would need to have your own login to uniquely identify the user.
Here is the expected flow:
There are a lot more details to implement, but I hope that gets you started.
@adent42 Where should I send the table?
Is there a function to send a table with the game center ID?
Apple are deeply inconsistent about this. I've had numerous submissions rejected over this, but numerous others accepted without issue.
If you allow the player to buy coins or some other currency, then the player buys non-consumable items with that currency, such as race tracks or character outfits, Apple will sometimes demand that these purchased items be restorable. Sometimes they won't. That's Apple review for you.
If you are unlucky and get a reviewer who insists on items purchased with consumable currency be restorable, there are two ways to go about it.
I've had cases where I've used each (more 2 though, as few games I've done have been complex enough to warrant 1), and Apple have accepted it as a valid solution.
As I said, though... Apple are so, so inconsistent about this. I'd say 85% of games I've submitted where this applies have been accepted without issue. So I recommend you only worry about this if Apple flag it up during review. Often they don't.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support