我的应用因为在应用中购买而被拒绝。我正在使用in_app_purchase 0.3.0+2。如何为iOS放置“恢复”按钮?
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.
Next Steps
To restore previously purchased in-app purchase products, it would be appropriate to provide a "Restore" button and initiate the restore process when the "Restore" button is tapped by the user. Note that automatically restoring purchases on launch will not resolve this issue.
最佳答案
您可以使用登录/注册方法将所有购买的帐户保存在自己的服务器中,并且用户可以使用其他设备登录并登录,然后可以恢复购买的服务。或者,您也可以使用Apple ID [queryPastPurchases]来获取过去的购买记录。
关于ios - 由于在应用程序内购买,导致App Store Flutter应用程序被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59987812/