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
Purpose
Section titled “Purpose”“Send AppsFlyer event data to Affise”
README 411-415
Dart API
Section titled “Dart API”void logEvent(String eventName, Map<String, dynamic> eventValues); // lib/module/appsflyer/affise_appsflyer.dart:14Future<bool> hasModule(); // :21Platform
Section titled “Platform”Cross-platform.
Install
Section titled “Install”flutter pub add affise_attribution_libflutter pub add affise_attribution_module_appsflyeror add the dependency to pubspec.yaml:
dependencies: affise_attribution_lib: ^1.7.16 affise_attribution_module_appsflyer: ^1.7.16The 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/AppsFlyer1.7.16 - iOS (Swift Package Manager):
AffiseModuleAppsFlyer1.7.16
Module APIs (Affise.module.*, AffiseModules) remain in affise_attribution_lib.
Native setup (alternative)
Section titled “Native setup (alternative)”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
ProviderType contributions
Section titled “ProviderType contributions”UNVERIFIED: providers contributed — no explicit enumeration in the README.