You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/flutter/index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ These are the options you can apply to configure the client:
71
71
|`cdnHost`| cdn-settings.segment.com/v1 | Used to specify the regional Segment settings endpoint. |
72
72
|`errorHandler`| null | Custom error handler. By default, this logs errors to the standard flutter logger. |
73
73
|`trackApplicationLifecycleEvents`|false| Set this to `true` to enable automatic tracking for [app lifecycle events](/docs/connections/spec/mobile/#lifecycle-events) which include, application installed, opened, updated, backgrounded. |
74
-
|`trackDeeplinks`|false| Set this to `true` to enable automatic tracking for when the user opens the app through a deep link. **Note**: When you send this flag, the SDK plugin_appsflyer ignores [onAppOpenAttribution](https://github.com/AppsFlyerSDK/appsflyer-flutter-plugin/blob/master/doc/Guides.md#Unified-deep-linking){:target="_blank"} |
74
+
|`trackDeeplinks`|false| Set this to `true` to enable automatic tracking for when the user opens the app through a deep link. **Note**: When you send this flag, the SDK plugin_appsflyer ignores [onAppOpenAttribution](https://github.com/AppsFlyerSDK/appsflyer-flutter-plugin/blob/master/doc/Guides.md#Unified-deep-linking){:target="_blank"}.|
75
75
|`autoAddSegmentDestination`|true| Set this to `false` to skip adding the `SegmentDestination` plugin. |
76
76
|`defaultIntegrationSettings`| null | Plugin settings that are used if the request to get the settings from Segment fails. |
77
77
|`maxBatchSize`|true| The maximum number of events you can send to the API at once is 100. |
@@ -146,7 +146,7 @@ See how to set up [automatic screen tracking](#automatic-screen-tracking).
146
146
147
147
148
148
### Identify
149
-
The [Identify](/docs/connections/spec/identify/) method lets you tie a user to their actions and record traits about them. This includes a unique user ID and any optional traits you know about them like their email, name, address. The traits option can include any information you might want to tie to the user, but when using any of the [reserved user traits](/docs/connections/spec/identify/#traits), you should make sure to only use them for their intended meaning. All reserved traits are strongly typed by the ```UserTraits``` class. When you use traits not listsed as a reserved user trait, these go under the ```custom``` property.
149
+
The [Identify](/docs/connections/spec/identify/) method lets you tie a user to their actions and record traits about them. This includes a unique user ID and any optional traits you know about them like their email, name, address. The traits option can include any information you might want to tie to the user, but when using any of the [reserved user traits](/docs/connections/spec/identify/#traits), you should make sure to only use them for their intended meaning. All reserved traits are strongly typed by the `UserTraits` class. When you use traits not listed as a reserved user trait, these go under the `custom` property.
The [Group](/docs/connections/spec/group/) method is how you associate an individual user with a group — whether it's a company, organization, account, project, team. This includes a unique group ID and any optional group traits you know about them like the company name, industry, the number of employees. The traits option can include any information you might want to tie to the group, but when using any of the [reserved group traits](/docs/connections/spec/group/#traits), you should make sure to only use them for their intended meaning. All reserved traits are strongly typed by the ```GroupTraits``` class. When you use traits not listsed as a reserved user trait, these go under the ```custom``` property.
172
+
The [Group](/docs/connections/spec/group/) method is how you associate an individual user with a group — whether it's a company, organization, account, project, team. This includes a unique group ID and any optional group traits you know about them like the company name, industry, the number of employees. The traits option can include any information you might want to tie to the group, but when using any of the [reserved group traits](/docs/connections/spec/group/#traits), you should make sure to only use them for their intended meaning. All reserved traits are strongly typed by the ```GroupTraits``` class. When you use traits not listed as a reserved user trait, these go under the `custom` property.
173
173
174
174
{% codeexample %}
175
175
{% codeexampletab Method signature %}
@@ -337,7 +337,7 @@ Plugins are implemented by extending one of the provided plugin classes. The ava
337
337
338
338
Any plugin must be an extension of one of these classes.
339
339
340
-
You can them customize the functionality by overriding different methods on the base class. For example, here is a `Logger` plugin:
340
+
You can then customize the functionality by overriding different methods on the base class. For example, here is a `Logger` plugin:
You can handle analytics client errors through the `errorHandler` option.
504
504
505
-
The error handler configuration receives a function which gets called whenever an error happens on the analytics client. It receives an Exception, that extends one of the errors from [errors.dart](packages/core/lib/errors.dart).
505
+
The error handler configuration receives a function which gets called whenever an error happens on the analytics client. It receives an Exception, that extends one of the errors from [errors.dart](https://github.com/segmentio/analytics_flutter/blob/main/packages/core/lib/errors.dart){:target="_blank"}.
506
506
507
507
You can use this error handling to trigger different behaviors in the client when a problem occurs. For example if the client gets rate limited, you could use the error handler to swap flush policies to be less aggressive.
0 commit comments