restorePurchases

To restore purchases, you have to call this method.

If there is nothing to restore, the method completes successfully with the current AdaptyProfile, so check the access level status in the returned profile.

Should not be called before activate

Parameters

callback

A result containing the AdaptyProfile object. This model contains info about access levels, subscriptions, and non-subscription purchases. Generally, you have to check only access level status to determine whether the user has premium access to the app.

See also