I made a game in unity which allows you to buy a dollar to disable ads in the game. My question now is that whenever a user deletes the game and reinstalls it later, the player data is removed as well as the data containing whether he/she has payed. When he/she buys it again, will it already appear as bought and return succesfully to the callback function or will he have to buy it again?
if (String.Equals(args.purchasedProduct.definition.id, kProductIDAdFree, StringComparison.Ordinal)) { Debug.Log(string.Format("ProcessPurchase: PASS. Product: '{0}'", args.purchasedProduct.definition.id)); PrefsController.EverythingUnlocked = true; gameObject.SetActive(false); buyInfoPanel.SetActive(false); colourPicker.UnlockAll(); boardPicker.UnlockAll(); }
PrefsController is just a wrapper for PlayerPrefs.