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?
Question
How do I properly make use of 'Restore Purchase'?

This post has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.