I'm developing a mobile game for iOS, android and windows platforms. It has IAP's where users can purchase items using cash gained in the game or with real money. Now here comes the problem, when a user has purchased an item with game cash, and uninstalled and reinstalled the game the product will not be restored. If it is purchased using real money because the purchase information is stored on the user account, it can be restored. But what the about the item purchased with game cash? How to restore it?
Is there anyway to save the game information (purchases, cash held and all) online or on cloud per user basis? So that when a user reinstall the game, he/she can get all the purchases, cash held and all.