Package-level declarations

Types

Link copied to clipboard
object Payment

RevenueCat operations and the small subscription model used by JchuComponents paywalls. The SDK performs the store-specific work through Google Play Billing on Android and StoreKit on iOS; this API can be called from shared Kotlin code.

Functions

Link copied to clipboard
fun initPayment(apiKey: String, isDebug: Boolean, subscriptionName: String)

Initializes RevenueCat for the current store and sets the entitlement used by this helper. Call this once during application startup with the platform-specific RevenueCat API key.