StoreKit for iOS - Subscriptions Question

↘锁芯ラ 提交于 2019-12-08 08:21:06

问题


I am using the new subscription model with StoreKit in a test application of mine, but I have a few questions:

  • If the user cancels the subscription, how am I informed of this? Or do I have to monitor the date myself (using the value transactionDate)

  • If the subscription is cancelled, the user can now longer restore this
    purchase if the subscription is
    expired right?

Thank you!


回答1:


You aren't informed if the user cancels. When you validate a receipt, Apple should give you a receipt for the most recent subscription period with a status of 0. If this isn't the case, the user is no longer subscribed.

The user can't restore an expired subscription.



来源:https://stackoverflow.com/questions/6526544/storekit-for-ios-subscriptions-question

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