IAPs are being restoring when they have not yet been purchased yet

☆樱花仙子☆ 提交于 2019-12-02 11:02:22

You should not update any purchase status in paymentQueueRestoreCompletedTransactionsFinished. This function just lets you know that the restoration process has completed. You could use this to update your UI or display an alert or something.

The restoration process delivers the transactions to be restored to the updatedTransactions function where you handle the .restored state in the same way that you handle the .purchased state.

Essentially "restore" just replays the purchase transaction process for non-consumable and auto-renewing subscription purchase types.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!