LinkFive - Successful Subscriptions
Restore a Purchase
Restore a Purchase
Please read How to initialize the plugin before you start with this part.
If your user has already purchased a subscription that is not currently activated on their device, you should display a restore button.
The Restore Method
Usually the subscription is saved on the device but if the user set up a new device or maybe deleted your app and re-installs it again, the receipt is gone (mainly on iOS). In this case, the subscription needs to be reactivated (or restored).
Therefore, you should always display a restore button on the paywall. Whenever the user presses on the button, you can call the restore method.
LinkFivePurchases.restore();
If the restore was successful, the verified receipt is sent to the active subscription stream.