Skip to content

AppsFlyer module

  • Enum: AffiseModules.APPSFLYER (lib/module/affise_modules.dart:7)
  • Native key: "AppsFlyer" (lib/module/affise_modules.dart:33)
  • Dart accessor: Affise.module.appsFlyer → AffiseModuleAppsFlyerApi
  • Implementation: lib/module/appsflyer/affise_appsflyer.dart:8
  • API: lib/module/appsflyer/affise_module_appsflyer_api.dart:3

“Send AppsFlyer event data to Affise”

README 411-415

void logEvent(String eventName, Map<String, dynamic> eventValues); // lib/module/appsflyer/affise_appsflyer.dart:14
Future<bool> hasModule(); // :21

Cross-platform.

Terminal window
flutter pub add affise_attribution_lib
flutter pub add affise_attribution_module_appsflyer

or add the dependency to pubspec.yaml:

dependencies:
affise_attribution_lib: ^1.7.16
affise_attribution_module_appsflyer: ^1.7.16

The package does not expose a Dart API of its own — it only pulls in the native module dependency:

  • Android: com.affise:module-appsflyer:1.7.16
  • iOS (CocoaPods): AffiseModule/AppsFlyer 1.7.16
  • iOS (Swift Package Manager): AffiseModuleAppsFlyer 1.7.16

Module APIs (Affise.module.*, AffiseModules) remain in affise_attribution_lib.

Instead of the Flutter package you can add the native dependency to the platform project yourself (README #### Native):

  • Android: implementation "com.affise:module-appsflyer:$affise_version"
  • iOS: pod 'AffiseModule/AppsFlyer', affise_version

UNVERIFIED: providers contributed — no explicit enumeration in the README.