Builder

open class Builder(context: Context, apiKey: String)

Constructors

Link copied to clipboard
constructor(context: Context, apiKey: String)

Functions

Link copied to clipboard

A unique id for identifying the user

Link copied to clipboard

Creates a PurchasesConfiguration instance with the specified properties.

Link copied to clipboard

Only use a Dangerous Setting if suggested by RevenueCat support team.

Link copied to clipboard

Enabling diagnostics will send some performance and debugging information from the SDK to our servers. Examples of this information include response times, cache hits or error codes. No personal identifiable information will be collected. The default value is false.

Link copied to clipboard

Sets the EntitlementVerificationMode to perform signature verification of requests to the RevenueCat backend.

Enable this setting if you want to allow pending purchases for prepaid subscriptions (only supported in Google Play). Note that entitlements are not granted until payment is done. Default is disabled.

Link copied to clipboard

An optional setting. Set this to MY_APP if you have your own IAP implementation and want to use only RevenueCat's backend. Default is REVENUECAT. If you are on Android and setting this to MY_APP, you will have to acknowledge the purchases yourself.

Link copied to clipboard

Executor service for performing backend operations. This can be used if you want to share an executor between Purchases and your own code. If not passed in, one will be created.

Link copied to clipboard

Enable this setting to show in-app messages from Google Play automatically. Default is enabled. For more info: https://rev.cat/googleplayinappmessaging

Link copied to clipboard

The store in which to make purchases. See Store for supported stores.