Affise Flutter Plugin
The Affise Attribution Flutter plugin wraps the native Affise Android and iOS SDKs to bring mobile attribution, event tracking, deep linking, and ad-revenue integration to Flutter apps.
Distribution
Section titled “Distribution”- Package name:
affise_attribution_lib(pubspec.yaml:1) - Description: “Affise Attribution Flutter plugin.” (
pubspec.yaml:2) - Current version:
1.7.8(pubspec.yaml:3) - Homepage: https://affise.com/ (
pubspec.yaml:4) - Repository: affise/affise-mmp-sdk-flutter (
pubspec.yaml:5) - Issue tracker: affise/affise-mmp-sdk-flutter/issues (
pubspec.yaml:6) - Declared platforms:
android,ios(pubspec.yaml:9-11) - Topics:
mobile,metrics(pubspec.yaml:13-15)
Platform plugin classes
Section titled “Platform plugin classes”- Android plugin
package:com.affise.attribution.affise_attribution_lib(pubspec.yaml:36) - Android
pluginClass:AffiseAttributionLibPlugin(pubspec.yaml:37) - iOS
pluginClass:AffiseAttributionLibPlugin(pubspec.yaml:39) - iOS CocoaPods name:
affise_attribution_lib(ios/affise_attribution_lib.podspec:6)
Requirements summary
Section titled “Requirements summary”- Dart SDK
>=3.0.6 <4.0.0, Flutter>=3.3.0 - Android
minSdk24, iOS 12.0+, Xcode 14.2+, Java 17+ - Required permission:
android.permission.INTERNET - Required iOS key:
NSUserTrackingUsageDescription(when Advertising module is active)
See Requirements for the full matrix.
Get started
Section titled “Get started” Configuration Add the pub dependency, platform manifests, and initialize the plugin.
Requirements Dart, Flutter, Android SDK, iOS, and toolchain versions.
Optional setup Domains, production/debug mode, config values, init callbacks.
Events tracking Predefined and custom events, parameters, buffering.
Deep linking Custom schemes, AppLinks, Universal Links, deferred deeplinks.
Ad revenue AdMob, AppLovin MAX, Helium, ironSource, Admost.
Features
Section titled “Features” Push token Firebase and APNs push-token forwarding and uninstall tracking.
Referrer Install referrer URL and keyed referrer values.
Device info Random user ID, device ID, providers, first-run flag.
Privacy (GDPR) Forget user, toggle tracking and background tracking.
Offline mode Buffer events locally and deliver once back online.
SKAdNetwork Register and update SKAdNetwork postback conversion values (iOS).
Modules
Section titled “Modules” AdService iOS AdServices attribution token.
Advertising Google Advertising ID (GAID) and vendor IDs.
AndroidId Persistent ANDROID_ID.
AppsFlyer Forward AppsFlyer events.
Google Google On-Device Conversion (odm_info), iOS-only. New in 1.7.8.
Huawei Huawei OAID and AppGallery install referrer.
Link Resolve redirect chains.
Meta Meta Install Referrer.
Network MAC, connection type, proxy IP.
Persistent Persist device id (iOS keychain).
Phone Network type and ISP.
RuStore RuStore install referrer.
Status Module status and deferred deeplink.
Subscription Google Play Billing and StoreKit2 wrapper.
TikTok Forward TikTok events.