How do I properly make use of 'Restore Purchase'?

  • 12 April 2024
  • 1 reply

Badge +4

We set appUserId with custom id and invoke getCustomerInfo each time app is opened and set the state with info of either subscribed or not and unlock the pro content accordingly. So if you had previously uninstalled the app and reinstall, the invoke of getCustomerInfo would solve the issue of knowing whether subscribed or not.

However app store wants you have ‘Restore Purchase’. How do I best use of this in this scenario?

This post has been closed for comments

1 reply

Userlevel 4
Badge +8

Hi, we recommend that you have the restore purchases button somewhere in your app to give the user the option to do so incase they do end up somehow losing access. Some places developers place this are the paywall or the settings page. We have a guide on this here: