Builder

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

Constructors

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

Functions

Link copied to clipboard
fun appUserID(appUserID: String?): PurchasesConfiguration.Builder
Link copied to clipboard
open fun build(): PurchasesConfiguration
Link copied to clipboard
fun dangerousSettings(dangerousSettings: DangerousSettings): PurchasesConfiguration.Builder

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

Link copied to clipboard
fun diagnosticsEnabled(diagnosticsEnabled: Boolean): PurchasesConfiguration.Builder

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. This information will be anonymized so it can't be traced back to the end-user. The default value is false.

Link copied to clipboard
fun observerMode(observerMode: Boolean): PurchasesConfiguration.Builder
Link copied to clipboard
fun service(service: ExecutorService): PurchasesConfiguration.Builder
Link copied to clipboard
fun store(store: Store): PurchasesConfiguration.Builder

Sources

Link copied to clipboard