Builder

class Builder(apiKey: String)

A builder class for constructing AdaptyConfig instances.

Constructors

Link copied to clipboard
constructor(apiKey: String)

Functions

Link copied to clipboard
Link copied to clipboard

Enables AdaptyUI integration (for paywalls, onboarding, etc).

Link copied to clipboard

Controlling whether the SDK will create a new profile when the app is restored from an iCloud backup. Default is false

Link copied to clipboard

Disables/Enables IDFA collection (iOS only). Default value is false.

Link copied to clipboard
Link copied to clipboard
fun withCustomerUserId(id: String?, iosAppAccountToken: String? = null, androidObfuscatedAccountId: String? = null): AdaptyConfig.Builder

Unique identifier for the current user in your system

Disables/Enables Google Advertising ID collection. Default value is false.

Link copied to clipboard

Disables/Enables IP address collection. Default value is false.

Link copied to clipboard

Sets the desired log level for Adapty logs.

Link copied to clipboard

Configures media caching (for AdaptyUI assets).

Link copied to clipboard

Enables observer mode if your app handles purchases manually.

Link copied to clipboard

Sets the region of Adapty’s backend servers (default or EU).