Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

RestoreTransactions(callback) can give user infinite items on iOS

$
0
0
I have this code to restore purchase, on iOS, I run this code when user click on Restore Purchase button:

Code (CSharp):
  1.             var apple = m_StoreExtensionProvider.GetExtension<IAppleExtensions>();
  2.             // Begin the asynchronous process of restoring purchases. Expect a confirmation response in
  3.             // the Action<bool> below, and ProcessPurchase if there are previously purchased products to restore.
  4.             apple.RestoreTransactions(OnRestore);
On Android, I run...

RestoreTransactions(callback) can give user infinite items on iOS

Viewing all articles
Browse latest Browse all 1466670

Trending Articles