Package-level declarations

Types

Link copied to clipboard
typealias CacheFetchPolicy = <Error class: unknown class>
Link copied to clipboard
typealias CustomerInfo = <Error class: unknown class>
Link copied to clipboard
typealias DangerousSettings = <Error class: unknown class>
Link copied to clipboard
typealias EntitlementInfo = <Error class: unknown class>
Link copied to clipboard
typealias EntitlementInfos = <Error class: unknown class>
Link copied to clipboard
typealias EntitlementVerificationMode = <Error class: unknown class>
Link copied to clipboard
interface LogHandler

Interface that allows handling logs manually.

Link copied to clipboard

The level to log at.

Link copied to clipboard
typealias Offering = <Error class: unknown class>
Link copied to clipboard
typealias Offerings = <Error class: unknown class>
Link copied to clipboard
typealias OwnershipType = <Error class: unknown class>
Link copied to clipboard
typealias Package = <Error class: unknown class>
Link copied to clipboard
typealias PackageType = <Error class: unknown class>
Link copied to clipboard
typealias PeriodType = <Error class: unknown class>
Link copied to clipboard
typealias PresentedOfferingContext = <Error class: unknown class>
Link copied to clipboard
typealias PresentedOfferingTargetingContext = <Error class: unknown class>
Link copied to clipboard
typealias ProductType = <Error class: unknown class>
Link copied to clipboard
actual class Purchases
expect class Purchases

Entry point for Purchases. This class can be instantiated using Purchases.configure. This should be done as soon as your app has a unique user id for your user. This can be when a user logs in if you have accounts or on launch if you can generate a random user identifier. Make sure you follow the quickstart guide to setup your RevenueCat account. Only one instance of Purchases should be instantiated at a time! Access the singleton instance with Purchases.sharedInstance.

actual class Purchases
Link copied to clipboard
typealias PurchasesAreCompletedBy = <Error class: unknown class>
Link copied to clipboard

Holds parameters to initialize the SDK. Create an instance of this class using the Builder and pass it to Purchases.configure.

Link copied to clipboard

A listener interface responsible for handling promotional product purchases (App Store only) and changes to customer information.

Link copied to clipboard
typealias PurchasesError = <Error class: unknown class>
Link copied to clipboard
typealias PurchasesErrorCode = <Error class: unknown class>
Link copied to clipboard
typealias PurchasesException = <Error class: unknown class>
Link copied to clipboard
typealias PurchasesTransactionException = <Error class: unknown class>
Link copied to clipboard
typealias ReplacementMode = <Error class: unknown class>
Link copied to clipboard
typealias Store = <Error class: unknown class>
Link copied to clipboard
typealias StoreKitVersion = <Error class: unknown class>
Link copied to clipboard
class UpdatedCustomerInfoDelegate(onCustomerInfoUpdated: (customerInfo: CustomerInfo) -> Unit) : PurchasesDelegate

A convenience implementation of PurchasesDelegate specifically for Android. Only requires the caller to provide an implementation of onCustomerInfoUpdated, just like UpdatedCustomerInfoListener in the official RevenueCat Android SDK.

Link copied to clipboard
typealias VerificationResult = <Error class: unknown class>

Properties

Link copied to clipboard

Current version of the Purchases SDK

Functions

Link copied to clipboard

Configures an instance of the SDK with the specified configuration builder. The instance will be set as a singleton. You should access the singleton instance using sharedInstance.

Link copied to clipboard

Holds parameters to initialize the SDK. Create an instance of this class using the builder and pass it to Purchases.configure.