Skip to main content
Question

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

  • April 12, 2024
  • 1 reply
  • 94 views

Forum|alt.badge.img+6

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

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 579 replies
  • April 17, 2024

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: 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings