My application currently allows the user to subscribe to our service using in-app purchase auto-renewable subscription. The app provides images, 12 images per month, and every month the user needs to renew his/her subscription to see the new content.
我的应用程序目前允许用户使用应用程序内购买自动更新订阅我们的服务。该应用提供图像,每月12张图片,每个月用户需要更新他/她的订阅以查看新的内容。
I haven't work on the auto-renewable model before, so I have built a model to validate the receipt and it works, but should I check if the user subscription expired or not, and, if so, how?
我以前没有使用过自动更新模型,所以我构建了一个模型来验证收据,它可以工作,但是我是否应该检查用户订阅是否过期,如果过期了,应该如何检查?
Also, does the app store only allow magazines and newspaper items to be auto-renewable?
此外,苹果应用商店是否只允许杂志和报纸可以自动更新?
I haven't worked on the auto-renewable model before, so any help on this matter would be highly appreciated.
我之前没有做过自动更新模型,所以在这个问题上任何帮助都将是非常感谢的。
3 个解决方案
#1
2
When a user signs up for an auto-renewable subscription, they continue to be charged until they manually cancel it. This is obviously great from a developer’s point of view, because it takes a lot more effort to cancel something than to just let it continue. You might already be familiar with a class of apps that use auto-renewable subscriptions already: Newsstand. Newsstand was first introduced in iOS 5, and allows content providers to easily distribute their newspapers and magazines. With it, Apple introduced the auto-renewable subscription model, which allows you to set a subscription duration and manage renewals automatically through the StoreKit framework. However, Apple has placed some very strict rules around auto-renewable subscriptions, meaning their usage is (usually) exclusive to Newsstand apps. So sadly, if you want to provide content or features for a limited duration, outside of Newsstand, then your only option is to use non-renewing subscriptions.
当用户注册自动更新订阅时,他们将继续收费,直到他们手动取消订阅。从开发人员的角度来看,这显然很好,因为取消某些东西比让它继续进行要花费更多的精力。您可能已经熟悉了使用自动更新订阅的一类应用程序:Newsstand。Newsstand首次出现在iOS 5中,它允许内容提供商轻松地发布他们的报纸和杂志。有了它,苹果推出了自动更新订阅模型,允许您设置订阅期限,并通过StoreKit框架自动管理更新。然而,苹果对自动更新订阅有一些非常严格的规定,这意味着它们的使用(通常)仅限于报摊应用。因此,不幸的是,如果您想在有限的时间内(除了报摊)提供内容或特性,那么您唯一的选择就是使用非续订订阅。
found that here: http://www.raywenderlich.com/36270/in-app-purchases-non-renewing-subscription-tutorial
发现:http://www.raywenderlich.com/36270/in-app-purchases-non-renewing-subscription-tutorial
#2
2
An auto-renewable subscription is an iOS In-App Purchase category that allows an app to provide and charge for content or features over a set amount of time.
自动更新订阅是一种iOS的应用内购买类别,允许应用程序在设定的时间内为内容或功能提供和收费。
Hear is a very useful link!. It provides almost every details about auto renewable subscription
听觉是一个非常有用的链接!它提供了几乎所有关于汽车可再生订阅的细节。
#3
0
Auto-Renewable In-App purchases continues charging the user (weekly/monthly/yearly etc.) until they cancel it.
自动更新的应用内购买继续向用户收费(周/月/年等),直到他们取消它。
You can check if the subscription has expired using the a validated receipt. It contains subscription expiration date and time.
您可以使用已验证的收据检查订阅是否已过期。它包含订阅过期日期和时间。
If you want to lock content if subscription has not renewed, you may want to check receipt info against current date/time, on applicationDidBecomeActive
delegate. There are open source libraries that lets you verify receipts locally as well.
如果您想要锁定未续期的内容,您可能需要在applicationDidBecomeActive委托上查看当前日期/时间的接收信息。也有开放源码库允许您在本地验证收据。
And any kind of app can have Auto-Renewable In-App purchases, not just newsstand apps.
任何类型的应用都可以在应用中自动更新,而不仅仅是报摊上的应用。
#1
2
When a user signs up for an auto-renewable subscription, they continue to be charged until they manually cancel it. This is obviously great from a developer’s point of view, because it takes a lot more effort to cancel something than to just let it continue. You might already be familiar with a class of apps that use auto-renewable subscriptions already: Newsstand. Newsstand was first introduced in iOS 5, and allows content providers to easily distribute their newspapers and magazines. With it, Apple introduced the auto-renewable subscription model, which allows you to set a subscription duration and manage renewals automatically through the StoreKit framework. However, Apple has placed some very strict rules around auto-renewable subscriptions, meaning their usage is (usually) exclusive to Newsstand apps. So sadly, if you want to provide content or features for a limited duration, outside of Newsstand, then your only option is to use non-renewing subscriptions.
当用户注册自动更新订阅时,他们将继续收费,直到他们手动取消订阅。从开发人员的角度来看,这显然很好,因为取消某些东西比让它继续进行要花费更多的精力。您可能已经熟悉了使用自动更新订阅的一类应用程序:Newsstand。Newsstand首次出现在iOS 5中,它允许内容提供商轻松地发布他们的报纸和杂志。有了它,苹果推出了自动更新订阅模型,允许您设置订阅期限,并通过StoreKit框架自动管理更新。然而,苹果对自动更新订阅有一些非常严格的规定,这意味着它们的使用(通常)仅限于报摊应用。因此,不幸的是,如果您想在有限的时间内(除了报摊)提供内容或特性,那么您唯一的选择就是使用非续订订阅。
found that here: http://www.raywenderlich.com/36270/in-app-purchases-non-renewing-subscription-tutorial
发现:http://www.raywenderlich.com/36270/in-app-purchases-non-renewing-subscription-tutorial
#2
2
An auto-renewable subscription is an iOS In-App Purchase category that allows an app to provide and charge for content or features over a set amount of time.
自动更新订阅是一种iOS的应用内购买类别,允许应用程序在设定的时间内为内容或功能提供和收费。
Hear is a very useful link!. It provides almost every details about auto renewable subscription
听觉是一个非常有用的链接!它提供了几乎所有关于汽车可再生订阅的细节。
#3
0
Auto-Renewable In-App purchases continues charging the user (weekly/monthly/yearly etc.) until they cancel it.
自动更新的应用内购买继续向用户收费(周/月/年等),直到他们取消它。
You can check if the subscription has expired using the a validated receipt. It contains subscription expiration date and time.
您可以使用已验证的收据检查订阅是否已过期。它包含订阅过期日期和时间。
If you want to lock content if subscription has not renewed, you may want to check receipt info against current date/time, on applicationDidBecomeActive
delegate. There are open source libraries that lets you verify receipts locally as well.
如果您想要锁定未续期的内容,您可能需要在applicationDidBecomeActive委托上查看当前日期/时间的接收信息。也有开放源码库允许您在本地验证收据。
And any kind of app can have Auto-Renewable In-App purchases, not just newsstand apps.
任何类型的应用都可以在应用中自动更新,而不仅仅是报摊上的应用。