commonMain.com.revenuecat.purchases.kmp.models.StoreKitVersion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purchases-kmp-models Show documentation
Show all versions of purchases-kmp-models Show documentation
Mobile subscriptions in hours, not months.
package com.revenuecat.purchases.kmp.models
/**
* Defines which version of StoreKit may be used.
*/
public enum class StoreKitVersion {
/**
* Always use StoreKit 1.
*/
STOREKIT_1,
/**
* Always use StoreKit 2 (StoreKit 1 will be used if StoreKit 2
* is not available in the current device.)
*
* - 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.
*/
STOREKIT_2,
/**
* Let RevenueCat use the most appropriate version of StoreKit
*/
DEFAULT,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy