This repository contains the AppsFlyer integration for the mParticle Android SDK.
-
Add the kit dependency to your app's build.gradle:
dependencies { implementation 'com.mparticle:android-appsflyer-kit:5+' }
-
Follow the mParticle Android SDK quick-start, then rebuild and launch your app, and verify that you see
"AppsFlyer detected"
in the output ofadb logcat
. -
Reference mParticle's integration docs below to enable the integration.
-
If you wish to utilize Appsflyers InstallReferrer capabilities, add a dependency for Play Install Referrer library in you app's build.gradle. For more information visit the Appsflyer SDK's documentation page on the subject:
dependencies { implementation "com.android.installreferrer:installreferrer:2.2" }