Skip to content

AppsFlyerSDK/appsflyer-flutter-plugin

Repository files navigation

appsflyer-flutter-plugin

pub package Coverage

🛠 In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]

When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.

  • Android AppsFlyer SDK v6.15.2
  • iOS AppsFlyer SDK v6.15.3

If you have used one of the removed/changed APIs, please check the integration guide for the updated instructions.

  • From version 6.11.2, the setPushNotification will not work in iOS. Please use our new API sendPushNotificationData when receiving a notification on flutter side.

  • From version 6.8.0, the enableLocationCollection has been removed from the plugin.

  • From version 6.4.0, UDL (Unified deep link) now as a dedicated class with getters for handling the deeplink result. Check the full UDL guide. setSharingFilter & setSharingFilterForAllPartners APIs are deprecated. Instead use the new API setSharingFilterForPartners.

  • From version 6.3.5+2, Remove stream from the plugin (no change is needed if you use callbacks for handling deeplink).

  • From version 6.2.3+2, Flutter 2 is supported, including null safety. 6.2.4-flutterv1 will use iOS SDK 6.2.4 with Flutter V1.

  • From version 6.0.0, we have renamed the following APIs:

Before v6 v6
trackEvent logEvent
stopTracking stop
validateAndTrackInAppPurchase validateAndLogInAppPurchase
  • From version 6.1.2+4, we have renamed the following APIs:
Before v6.1.2+4 v6.1.2+4
validateAndLogInAppPurchase validateAndLogInAppIosPurchase/validateAndLogInAppAndroidPurchase

Important notice

  • Switch ConversionData and OnAppOpenAttribution to be based on callbacks instead of streams from plugin version 6.0.5+2.

AD_ID permission for Android

In v6.8.0 of the AppsFlyer SDK, we added the normal permission com.google.android.gms.permission.AD_ID to the SDK's AndroidManifest, to allow the SDK to collect the Android Advertising ID on apps targeting API 33. If your app is targeting children, you need to revoke this permission to comply with Google's Data policy. You can read more about it here.

📖 Guides