The Meta Install Referrer plugin enables the Adjust SDK to read Meta Install Referrer values on a device. The SDK then sends this information to Adjust's servers as part of the install payload.
To add the plugin to your app:
Add the following dependency to your
Dependencies.xml
file:<androidPackage spec="com.adjust.sdk:adjust-android-meta-referrer:5.1.0"></androidPackage>Alternatively, add the following dependency to your
build.gradle
file in Android Studio:dependencies {implementation 'com.adjust.sdk:adjust-android-meta-referrer:5.1.0'}Find your Meta app ID in your App Dashboard. See Meta's App Dashboard documentation for more information.
Assign your App ID to the
FbAppId
property on yourAdjustConfig
instance.AdjustConfig config = new AdjustConfig("{YourAppToken}", AdjustEnvironment.Sandbox);//...config.FbAppId = "{FB_APP_ID_STRING}";//...Adjust.InitSdk(config);