This section shows you how to download, configure, and initialize the AppLovin MAX Defold Plugin.
To download and import the AppLovin MAX Defold Plugin into your project, follow these steps:
game.project dependencies.
/extension-applovin/res/ios to your game.project bundle resources.
To receive release updates, subscribe to the AppLovin MAX Defold Plugin GitHub repository.
Declare and set a callback function to receive SDK events from the SDK. Then initialize the SDK as soon as your app launches, as in the code sample below.
[COMPONENT: Cached]
[COMPONENT: SdkKey]
[COMPONENT: IOS14Support]
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.