I have this code to restore purchase, on iOS, I run this code when user click on Restore Purchase button:
On Android, I run...
RestoreTransactions(callback) can give user infinite items on iOS
Code (CSharp):
- var apple = m_StoreExtensionProvider.GetExtension<IAppleExtensions>();
- // Begin the asynchronous process of restoring purchases. Expect a confirmation response in
- // the Action<bool> below, and ProcessPurchase if there are previously purchased products to restore.
- apple.RestoreTransactions(OnRestore);
RestoreTransactions(callback) can give user infinite items on iOS