ASAPPConfig

data class ASAPPConfig @JvmOverloads constructor(val appId: String, val apiHostName: String, val clientSecret: String, val supportedLanguages: List<String> = emptyList(), val regionCode: String = "US", val useUnsafeConnections: Boolean = false, val enableSDKCrashlytics: Boolean = false, val enableSentry: Boolean = true)

Holds the configuration details for ASAPP.

Parameters

appId

The host app ID.

apiHostName

The host name.

clientSecret

A secret shared between the host app and ASAPP.

supportedLanguages

Your app's supported languages, in order of preference, as an array of language tag strings. Strings can be in the format "{ISO 639-1 Code}-{ISO 3166-1 Code}" or "{ISO 639-1 Code}", such as "en-us" or "en". Defaults to "en".

regionCode

Application current region, as an ISO 3166-1 alpha-2 code. Defaults to US.

useUnsafeConnections

Debug param. Not to be used in production.

enableSDKCrashlytics

To enable crashlytics collection.

enableSentry

To enable sentry collection.

Constructors

Link copied to clipboard
constructor(appId: String, apiHostName: String, clientSecret: String, supportedLanguages: List<String> = emptyList(), regionCode: String = "US", useUnsafeConnections: Boolean = false, enableSDKCrashlytics: Boolean = false, enableSentry: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String