analytics_hub_appsflyer library

Appsflyer implementation for AnalyticsHub.

This library provides AppsflyerAnalyticsHubProvider and AppsflyerAnalyticsHubIdentifier to send Events from AnalyticsHub to Appsflyer via AppsflyerSdk.logEvent. Session updates set the Appsflyer customer user ID via AppsflyerSdk.setCustomerUserId.

Example:

final provider = AppsflyerAnalyticsHubProvider(appsFlyerSdk: appsFlyer);
final hub = AnalyticsHub(
  providers: [provider],
  sessionDelegate: mySessionDelegate,
);
await hub.initialize();

Classes

AppsflyerAnalyticsHubIdentifier
ProviderIdentifier for the Appsflyer analytics provider.
AppsflyerAnalyticsHubProvider
AnalytycsProvider that sends Events to Appsflyer via AppsflyerSdk.