Hello we have an app that i use flutter. The apple store send me this message
Guideline 3.1.1 - Business - Payments - In-App Purchase
We found that your app offers in-app purchases that can be restored but does not include a "Restore Purchases" feature to allow users to restore the previously purchased in-app purchases, as specified in the "Restoring Purchase Products" section of the In-App Purchase Programming Guide:
"Users restore transactions to maintain access to content they've already purchased. For example, when they upgrade to a new phone, they don't lose all of the items they purchased on the old phone. Include some mechanism in your app to let the user restore their purchases, such as a Restore Purchases button."
i use this code:
try { PurchaserInfo restoredInfo = await Purchases.restoreTransactions(); // ... check restored purchaserInfo to see if entitlement is now active } on PlatformException catch (e) { // Error restoring purchases }]\
but they say it doesnt work. Do you have any idea? Thanks.