|
1年前 | |
---|---|---|
.. | ||
.sample.json | 1年前 | |
GettingIntroductoryPrices.cs | 1年前 | |
GettingIntroductoryPrices.cs.meta | 1年前 | |
GettingIntroductoryPrices.unity | 1年前 | |
GettingIntroductoryPrices.unity.meta | 1年前 | |
README.md | 1年前 | |
README.md.meta | 1年前 | |
UserWarningAppleAppStore.cs | 1年前 | |
UserWarningAppleAppStore.cs.meta | 1年前 |
This sample showcases how to use Apple extensions to get introductory subscription offer information.
InAppPurchasing game object > Getting Introductory Prices script > Subscription Product Id field
or change the subscriptionProductId
field in the GettingIntroductoryPrices.cs
script.iOS
.
From Apple’s documentation:
Apps with auto-renewable subscriptions can offer a discounted introductory price, including a free trial, to eligible users. You can make introductory offers to customers who haven’t previously received an introductory offer for the given product, or for any products in the same subscription group.
IAppleExtension.GetIntroductoryPriceDictionary
returns a dictionary of JSON encoded strings keyed by productIds.
For more information about Apple’s introductory pricing for subscriptions, see Implementing Introductory Offers in Your App .