@segment/analytics-react-native > Configuration
Configuration
● android: undefined
| object
Defined in analytics.ts:69
Android specific settings.
● debug: undefined
| false
| true
Defined in analytics.ts:38
● flushAt: undefined
| number
Defined in analytics.ts:46
The number of queued events that the analytics client should flush at. Setting this to 1
will not queue any events and will use more battery.
20
by default.
● ios: undefined
| object
Defined in analytics.ts:51
iOS specific settings.
● recordScreenViews: undefined
| false
| true
Defined in analytics.ts:19
Whether the analytics client should automatically make a screen call when a view controller is added to a view hierarchy. Because the iOS underlying implementation uses method swizzling, we recommend initializing the analytics client as early as possible.
Disabled by default.
● trackAppLifecycleEvents: undefined
| false
| true
Defined in analytics.ts:26
Whether the analytics client should automatically track application lifecycle events, such as "Application Installed", "Application Updated" and "Application Opened".
Disabled by default.
● trackAttributionData: undefined
| false
| true
Defined in analytics.ts:32
Whether the analytics client should automatically track attribution data from enabled providers using the mobile service.
Disabled by default.
● using: Integration[]
Defined in analytics.ts:37
Register a set of integrations to be used with this Analytics instance.