Skip to content

Integrations field is empty in segment analytics #152

@MiguelBelotto00

Description

@MiguelBelotto00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions