appsflyer_sdk 6.0.5+1
appsflyer_sdk: ^6.0.5+1

Flutter Android iOS

A Flutter plugin for AppsFlyer SDK. Supports iOS and Android.

appsflyer_sdk #

A Flutter plugin for AppsFlyer SDK.

pub package Coverage

🛠 In order for us to provide optimal support, we would kindly ask you to submit any issues to support@appsflyer.com

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


Table of content #

Supported Platforms #

  • Android
  • iOS 8+

This plugin is built for #

  • iOS AppsFlyerSDK v6.0.5
  • Android AppsFlyerSDK v5.4.5

❗Migration Guide to v6 #

In v6 of AppsFlyer SDK there are some api breaking changes:

Before v6v6
trackEventlogEvent
stopTrackingstop
validateAndTrackInAppPurchasevalidateAndLogInAppPurchase

📲 Getting started #

In order to install the plugin, visit this page.

To start using AppsFlyer you first need to create an instance of AppsflyerSdk before using any other of our sdk functionalities.

AppsflyerSdk receives a map or AppsFlyerOptions object. This is how you can configure our AppsflyerSdk instance and connect it to your AppsFlyer account.

Example (using map):

import 'package:appsflyer_sdk/appsflyer_sdk.dart';
//..

Map options = { "afDevKey": afDevKey,
                "afAppId": appId,
                "isDebug": true};

AppsflyerSdk appsflyerSdk = AppsflyerSdk(appsFlyerOptions);

The next step is to call initSdk which have the optional boolean parameters registerConversionDataCallback and registerOnAppOpenAttributionCallback which are set to false as default.

After we call initSdk we can use all of AppsFlyer SDK features.

🚀 Initializing the SDK #

Initialize the SDK to enable AppsFlyer to detect installations, sessions (app opens) ,updates and use all of our features.

📖 Guides #

Great installation and setup guides can be viewed here

📑 API #

see the full API available for this plugin.

8
likes
90
pub points
93%
popularity

A Flutter plugin for AppsFlyer SDK. Supports iOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

shahar.cohen@appsflyer.com
maxim@appsflyer.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on appsflyer_sdk