This page shows you how to download, configure, and initialize the AppLovin MAX Cordova Plugin.
Download the AppLovin MAX Cordova plugin through npm by issuing the following command:
To receive release updates, subscribe to the AppLovin MAX Cordova Plugin GitHub repository.
To enable the MAX Ad Review service, follow the instructions below for Android or iOS:
Add the following at the end of your build.gradle files:
[COMPONENT: AdReviewKey]
Download
[COMPONENT: AdReviewLink]
and move it into your project folder.
Open a terminal window, cd to your project directory, and run:
Add the code snippet below into your app’s main home screen:
[COMPONENT: SdkKey]
[COMPONENT: Cached]
[COMPONENT: IOS14Support]
You can find your Ad Review Key in the Account > General > Keys section of the AppLovin dashboard.
Users have a better experience if mediated networks cache their ad assets. For this reason, always initialize the AppLovin SDK on startup. This gives mediated networks time to cache ads. This is especially important with video ads.
In iOS 14, Apple introduced global privacy policy changes. Apple requires applications to comply with these new policies. If you fail to comply, you may lose revenue. This section explains how to comply.
Update your app’s Info.plist with network-specific identifiers.
See the SKAdNetwork documentation for instructions.
You must get consent from your users in certain jurisdictions on behalf of AppLovin’s monetization partners. You must also pass consent values to AppLovin. To learn how, review the Privacy–consent, age-related flags, and data APIs documentation.
You can find your SDK key in the Account > General > Keys section of the AppLovin dashboard.