swiftystorekit

how to restore subscription for old users in SwiftyStorekit?

两盒软妹~` 提交于 2020-04-08 18:26:12
问题 In the first version, I was using 3 product id's Monthly Three Months And yearly Subscription And in my new version of app there are 2 product id's, which are totally new Month Year So my question is, for old users who have already purchased a subscription with old product id's, how he will be able to restore with the new version. Currently, I m using below code to restore the purchase, but it doesn't restore old product id's. SwiftyStoreKit.restorePurchases(atomically: true) { results in APP

how to restore subscription for old users in SwiftyStorekit?

吃可爱长大的小学妹 提交于 2020-04-08 18:25:50
问题 In the first version, I was using 3 product id's Monthly Three Months And yearly Subscription And in my new version of app there are 2 product id's, which are totally new Month Year So my question is, for old users who have already purchased a subscription with old product id's, how he will be able to restore with the new version. Currently, I m using below code to restore the purchase, but it doesn't restore old product id's. SwiftyStoreKit.restorePurchases(atomically: true) { results in APP

Check if an Auto-Renewable Subscription is still valid

不羁岁月 提交于 2019-11-28 09:49:12
I would like to check the Auto Renewable Subscription status whenever I open the app. This is to make sure that the user is still subscribed to the service. How do I achieve this? Any thoughts? Thank you P.S.: I am using SwiftyStoreKit Ramis Here is several ways to do receipt validation to check is user granted to subscription. Here is two ways of doing it correctly: Do receipt validation locally as it is written here . Do receipt validation remotely as it is written here . It is mentioned that receipt should not be sent to App Store white an app. Short summary: Your app sends receipt to your

Check if an Auto-Renewable Subscription is still valid

对着背影说爱祢 提交于 2019-11-27 02:45:36
问题 I would like to check the Auto Renewable Subscription status whenever I open the app. This is to make sure that the user is still subscribed to the service. How do I achieve this? Any thoughts? Thank you P.S.: I am using SwiftyStoreKit 回答1: Here is several ways to do receipt validation to check is user granted to subscription. Here is two ways of doing it correctly: Do receipt validation locally as it is written here. Do receipt validation remotely as it is written here. It is mentioned that