analytics_flutter
analytics_flutter copied to clipboard
Integrations field is empty in segment analytics
Hello everyone, I've been testing this package and I'm correctly instantiating analytics, as well as adding the AppsFlyer plugin. However, when the event is sent to Segment Twilio, the integration section appears as null.
For example:
//AnalyticsSegment is a singleton when contains the analytics class
AnalyticsSegment().analytics.addPlugin(
AppsFlyerDestination(),
settings: {
'appleAppID': value,
'appsFlyerDevKey': myKey,
'httpFallback': false,
'rokuAppID': null,
'trackAttributionData': true,
'type': 'mobile',
'versionSettings': {
'prod': [
appVersion,
],
},
},
);
Now, if I do:
AnalyticsSegment().analytics.track('event', properties: myProperties)
In Segment, I see that the value of the integrations map is empty, even though I added AppsFlyer:
"integrations": {}
Packages: segment_analytics_plugin_appsflyer: ^1.0.1 segment_analytics: ^1.1.4