CustomerIOConfig constructor
CustomerIOConfig({
- required String siteId,
- required String apiKey,
- Region region = Region.us,
- @Deprecated("organizationId is deprecated and isn't required anymore, use enableInApp instead. This field will be removed in the next release.") String organizationId = "",
- CioLogLevel logLevel = CioLogLevel.debug,
- bool autoTrackDeviceAttributes = true,
- String trackingApiUrl = "",
- bool autoTrackPushEvents = true,
- int backgroundQueueMinNumberOfTasks = 10,
- double backgroundQueueSecondsDelay = 30.0,
- PushClickBehaviorAndroid pushClickBehaviorAndroid = PushClickBehaviorAndroid.activityPreventRestart,
- bool enableInApp = false,
- String version = "",
Implementation
CustomerIOConfig(
{required this.siteId,
required this.apiKey,
this.region = Region.us,
@Deprecated("organizationId is deprecated and isn't required anymore, use enableInApp instead. This field will be removed in the next release.")
this.organizationId = "",
this.logLevel = CioLogLevel.debug,
this.autoTrackDeviceAttributes = true,
this.trackingApiUrl = "",
this.autoTrackPushEvents = true,
this.backgroundQueueMinNumberOfTasks = 10,
this.backgroundQueueSecondsDelay = 30.0,
this.pushClickBehaviorAndroid = PushClickBehaviorAndroid.activityPreventRestart,
this.enableInApp = false,
this.version = ""});