Skip to main content
SDK

iOS 4.32.0-beta.1

iOS 4.32.0-beta.1
RC Support
RevenueCat Staff
Forum|alt.badge.img+3

StoreKit 2 Beta

This beta introduces a new configuration option to enable full StoreKit 2 flow on the SDK and the RevenueCat backend.

We have been testing StoreKit 2 support in parallel to StoreKit 1 in our backend for a while and we believe it is ready for widespread use.

If your app is currently using StoreKit 1, it is safe to update to StoreKit 2 and it's even possible to switch back to StoreKit 1 if needed. Switching to StoreKit 2 will not prevent purchases made with StoreKit 1 from being processed.

In order to enable StoreKit 2, add .with(storeKitVersion: .storeKit2) to your RevenueCat configuration code:

Purchases.configure(with: .builder(withAPIKey: apiKey)
    .with(storeKitVersion: .storeKit2)
    .build()

If you were previously using the deprecated configuration option .with(usesStoreKit2IfAvailable: true), we recommend you remove it and switch to the new supported method.

⚠️ ⚠️ Important ⚠️ ⚠️

In order to validate StoreKit 2 purchases, make sure you have an In-App Purchase Key configured in your app.

Please see https://rev.cat/in-app-purchase-key-configuration for more info.

🚧🚧 Limitations 🚧🚧

  • Observer Mode is not currently supported when using StoreKit 2.
  • The originalApplicationVersion and originalPurchaseDate properties in CustomerInfo are not supported in this first beta. Please do not update if your implementation relies on them being present.

To view new release, visit https://github.com/RevenueCat/purchases-ios/releases/tag/4.32.0-beta.1

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings