iOS 恢复产品
iOS Restore Product
我正在用 corona SDK 编写。
我使用内置函数 store.restore()
https://docs.coronalabs.com/api/library/store/restore.html
我对订阅 IAP 产品或一般还原有问题。
假设您是全新的用户。我的应用程序没有 IAP 历史记录。
当我调用 restore 时,它根本 return 什么都没有。所以我不知道它是否还没有 returned 产品或者根本没有产品要恢复。
我想知道它是否与原生调用相同?
例如,我会切换到原生 IAP,我想知道它是否值得。因此,如果我在那里调用产品恢复,并且没有产品历史记录,我会得到任何信息 return 吗?
我在这里、google 或 IAP 论坛上都没有找到问题的答案。可能以一种糟糕的方式制定。无论如何提前谢谢
很遗憾,Corona 尚不支持此功能。
不过这是一项要求的功能,您可以投票给它 here
关于 Apple 的 StoreKit。当一个restoreCompletedTransactions() method is called, will finish the whole queue with a call to delegate's paymentQueueRestoreCompletedTransactionsFinished(_:)方法时。
我正在用 corona SDK 编写。
我使用内置函数 store.restore() https://docs.coronalabs.com/api/library/store/restore.html
我对订阅 IAP 产品或一般还原有问题。
假设您是全新的用户。我的应用程序没有 IAP 历史记录。 当我调用 restore 时,它根本 return 什么都没有。所以我不知道它是否还没有 returned 产品或者根本没有产品要恢复。
我想知道它是否与原生调用相同?
例如,我会切换到原生 IAP,我想知道它是否值得。因此,如果我在那里调用产品恢复,并且没有产品历史记录,我会得到任何信息 return 吗?
我在这里、google 或 IAP 论坛上都没有找到问题的答案。可能以一种糟糕的方式制定。无论如何提前谢谢
很遗憾,Corona 尚不支持此功能。 不过这是一项要求的功能,您可以投票给它 here
关于 Apple 的 StoreKit。当一个restoreCompletedTransactions() method is called, will finish the whole queue with a call to delegate's paymentQueueRestoreCompletedTransactionsFinished(_:)方法时。