storeKitVersion property

StoreKitVersion? storeKitVersion
getter/setter pair

iOS-only, will be ignored for Android. By providing StoreKitVersion.defaultVersion, RevenueCat will automatically select the most appropriate StoreKit version for the app's runtime environment.

  • Warning: 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.

  • Note: StoreKit 2 is only available on iOS 16+. StoreKit 1 will be used for previous iOS versions regardless of this setting.

Implementation

StoreKitVersion? storeKitVersion;