WasimSafdar WasimSafdar - 2 months ago 15
Objective-C Question

Setting expiry date for Non-Renewable subscription using storekit

I am writing a non-renewable subscription module for my new application. It includes 1 month, 3 month and 6 month subscription period. I do not understand, how to set expiry date using icloud. Any help would be appreciated?

Answer

For Apple, there is no "within the validity period" for non-renewing subscriptions. The duration of the period, fortunately or unfortunately, is left up to the developer.

Subscription validity/expiry date is up to the developer.

It seems common for developers to use their own server to track the expiry period of a non-renewing subscription.

"So if When you use iCloud for restoration you should have to manage expiry date on your own server..."

Non-renewable subscriptions. Subscriptions that don’t involve delivering episodic content. Examples include access to a database of historic photos or a collection of flight maps. It’s your app’s responsibility to make the subscription available on all of the user’s devices and to let users restore the purchase. This product type is often used when your users already have an account on your server that you can use to identify them when restoring content. Expiration and the duration of the subscription are also left to your app (or your server) to implement and enforce.

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Products.html

Hope it help you.

Comments