restorePurchases

Restores purchases made with the current Play Store account for the current user. This method will post all purchases associated with the current Play Store account to RevenueCat and become associated with the current appUserID. If the receipt token is being used by an existing user, the current appUserID will be aliased together with the appUserID of the existing user. Going forward, either appUserID will be able to reference the same user.

You shouldn't use this method if you have your own account system. In that case "restoration" is provided by your app passing the same appUserId used to purchase originally.

Parameters

callback

The listener that will be called when purchase restore completes.