Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: added config for tracking lifecycle #161

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/config/customer_io_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class CustomerIOConfig {
final String? migrationSiteId;
final Region? region;
final CioLogLevel? logLevel;
final bool? trackApplicationLifecycleEvents;
final bool? autoTrackDeviceAttributes;
final String? apiHost;
final String? cdnHost;
Expand All @@ -25,6 +26,7 @@ class CustomerIOConfig {
this.region,
this.logLevel,
this.autoTrackDeviceAttributes,
this.trackApplicationLifecycleEvents,
this.apiHost,
this.cdnHost,
this.flushAt,
Expand All @@ -40,6 +42,7 @@ class CustomerIOConfig {
'region': region?.name,
'logLevel': logLevel?.name,
'autoTrackDeviceAttributes': autoTrackDeviceAttributes,
'trackApplicationLifecycleEvents': trackApplicationLifecycleEvents,
'apiHost': apiHost,
'cdnHost': cdnHost,
'flushAt': flushAt,
Expand Down
Loading