Bot releases are visible (Hide)
Published by RCGitBot about 1 month ago
Published by RCGitBot 2 months ago
This latest release updates the Android SDK dependency from v7 to v8 to use BillingClient 7 and updates the iOS SDK dependency from v4 to v5 to use StoreKit 2 by default in the SDK.
This release raises the minumum required OS versions to the following:
In order to use StoreKit 2, you must configure your In-App Purchase Key in the RevenueCat dashboard. You can find instructions describing how to do this here.
usesStoreKit2IfAvailable
is now storeKitVersion
When configuring the SDK, the usesStoreKit2IfAvailable
parameter has been replaced by an optional storeKitVersion
parameter. It defaults to letting the iOS SDK determine the most appropriate version of StoreKit at runtime. If you'd like to use a specific version of StoreKit, you may provide a value for storeKitVersion
like so:
Purchases purchases = GetComponent<Purchases>();
Purchases.PurchasesConfiguration purchasesConfiguration =
Purchases.PurchasesConfiguration.Builder.Init("api_key")
.SetStoreKitVersion(Purchases.StoreKitVersion.StoreKit2)
.Build();
purchases.Configure(purchasesConfiguration);
Version 7.0 of the SDK deprecates the term "Observer Mode" (and the APIs where this term was used), and replaces it with PurchasesAreCompletedBy
(either RevenueCat or your app). When specifying that your app will complete purchases, you must provide the StoreKit version that your app is using to make purchases on iOS. If your app is only available on Android, you may provide any value since the native Android SDK ignores this value.
You can enable it when configuring the SDK:
Purchases purchases = GetComponent<Purchases>();
Purchases.PurchasesConfiguration purchasesConfiguration =
Purchases.PurchasesConfiguration.Builder.Init("api_key")
.SetPurchasesAreCompletedBy(Purchases.PurchasesAreCompletedBy.MyApp, Purchases.StoreKitVersion.StoreKit2)
.Build();
purchases.Configure(purchasesConfiguration);
By default, when purchases are completed by your app using StoreKit 2 on macOS, the SDK does not detect a user's purchase until after the user foregrounds the app after the purchase has been made. If you'd like RevenueCat to immediately detect the user's purchase, call Purchases.recordPurchase(productID)
for any new purchases, like so:
Purchases purchases = GetComponent<Purchases>();
purchases.recordPurchase(productID, (transaction, error) => { ... });
If purchases are completed by your app using StoreKit 1, you will need to explicitly configure the SDK to use StoreKit 1:
Purchases purchases = GetComponent<Purchases>();
Purchases.PurchasesConfiguration purchasesConfiguration =
Purchases.PurchasesConfiguration.Builder.Init("api_key")
.SetPurchasesAreCompletedBy(Purchases.PurchasesAreCompletedBy.MyApp, Purchases.StoreKitVersion.StoreKit1)
.Build();
purchases.Configure(purchasesConfiguration);
Full migration guide to V7: Unity - V7 API Migration Guide
Amazon
: Add getAmazonLWAConsentStatus method to support Quick Subscribe (#442) via Mark Villacampa (@MarkVillacampa)VERSIONS.md
to include Billing client version and update fastlane plugin (#476) via Toni Rico (@tonidero)Gemfile.lock
with new fastlane plugin dependencies (#479) via Toni Rico (@tonidero)Published by RCGitBot 4 months ago
DEFERRED
upgrades and updates purchases-hybrid-common to 11.1.0 (#472) via RevenueCat Git Bot (@RCGitBot)
Published by RCGitBot 4 months ago
Published by RCGitBot 5 months ago
Published by RCGitBot 6 months ago
Published by RCGitBot 6 months ago
Published by RCGitBot 6 months ago
Published by RCGitBot 6 months ago
Published by RCGitBot 7 months ago
Published by RCGitBot 7 months ago
purchasePackage
when no targeting context (#438) via Josh Holtz (@joshdholtz)Published by RCGitBot 7 months ago
Published by RCGitBot 8 months ago
Published by RCGitBot 8 months ago
CustomerInfo
allPurchaseDates
values nullable (#423) via Toni Rico (@tonidero)Published by RCGitBot 8 months ago
setMixpanelDistinctID
setter (#419) via Toni Rico (@tonidero)Published by RCGitBot 9 months ago
Published by RCGitBot 9 months ago
Published by RCGitBot 9 months ago
fastlane-plugin-revenuecat_internal
(#406) via NachoSoto (@NachoSoto)Published by RCGitBot 10 months ago