Configuration

data class Configuration @JvmOverloads constructor(val endpoint: String, val appId: String, val debugMode: Boolean = false, val pushNotifications: PushNotificationsConfiguration = PushNotificationsConfiguration(), val automaticTrackingEnabled: Boolean = true, val language: String? = null, val firebaseProjectId: String? = null)

Configuration of the SDK

Constructors

Link copied to clipboard
constructor(endpoint: String, appId: String, debugMode: Boolean = false, pushNotifications: PushNotificationsConfiguration = PushNotificationsConfiguration(), automaticTrackingEnabled: Boolean = true, language: String? = null, firebaseProjectId: String? = null)

Properties

Link copied to clipboard

application id. If you are using Firebase, you should use R.string.google_app_id

Link copied to clipboard

if enabled, automatic tracking of events will be performed

Link copied to clipboard
val debugMode: Boolean = false

if enabled, includes additional logs. Should be disabled in production

Link copied to clipboard

Meiro Data Platform endpoint

Link copied to clipboard

Firebase project id. If you are using Firebase, you should use R.string.project_id

Link copied to clipboard
val language: String? = null

language of the application. Used if you want to target users by language

Link copied to clipboard

push notifications configuration