问题描述
我有一个具有可自动更新的订阅IAP的macOS应用,我想增加一个免费试用期.我正在尝试使用应用商店的介绍性优惠"功能,但无法弄清楚如何使其正常工作.我已经在iTunes Connect中配置了免费的试用版入门优惠,但是当我尝试从我的应用程序购买订阅时,一切都没有改变.
I have a macOS app with auto-renewable subscription IAP and I want to add a free trial period.I'm trying to use app store "introductory offer" feature, but can't figure out how to get it working.I have configured a free trial introductory offer in itunes connect, but nothing changes when I try to buy the subscription from my app.
所以我的问题是:我是否必须在我的应用程序代码中支持此功能(如此处所述 https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_subscription_offers_in_your_app?language=objc )中是否包含所有SKPaymentDiscount签名内容?或者,在提供试用的情况下,实际上并不需要这样做.我在互联网上看到了一些矛盾的意见.一是沙盒环境根本不支持免费试用功能.是真的吗?
So my question is: Do I have to support this feature in my app's code (as described here https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_subscription_offers_in_your_app?language=objc) with all that SKPaymentDiscount signature stuff? Or this is actually not needed in case of offering trial. I have seen some contradictory opinions in the internet. One is that free trial feature is simply not supported in sandbox environment. Is that true?
推荐答案
Apple会自己(不能)管理试用资格.您链接到的订阅优惠"与用于免费试用的介绍性优惠"不同.
You don't (can't) manage the trial eligibility yourself, Apple handles it. The "Subscription Offer" you linked to is different than the "Introductory Offer" that's used for free trials.
-
介绍性优惠-仅适用于从未订阅过的用户
Introductory Offer - Only eligible for users that have never had a subscription
订阅优惠-仅适用于在任何时候都具有有效订阅(包括当前有效)的用户
Subscription Offer - Only eligible for users that have had an active subscription at any point (including currently active)
设置自动续订订阅产品后.您将免费试用"作为入门价格添加到订阅价格下.
After you've set up the auto-renewing subscription product. You add the "Free trial" as an introductory price under subscription pricing.
这篇关于免费试用实施以实现macOS应用程序的自动续订订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!