How to change non-consumable to auto-renewable subscriptions and keep old user?

房东的猫 提交于 2020-04-07 02:00:08

问题


I've had in-app purchase feature with non-consumable pricing in Apple Store. And the app has pricing to use it.

How to change non-consumable to auto-renewable subscriptions? Somehow keep user who purchased the app. And new user charge with auto-renewable subscriptions.


回答1:


No you can't change it, just make sure in your App, you use
[[SKPaymentQueue defaultQueue]restoreCompletedTransactions];

Restore old purchase and check if you find that the user has purchased the non-consumable product (old users), restore the product for free. If user has not purchased that product before (new users), ask them to purchase the new auto-renewable subscriptions.



来源:https://stackoverflow.com/questions/47028722/how-to-change-non-consumable-to-auto-renewable-subscriptions-and-keep-old-user

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