applovin_max
Plugin Flutter AppLovin MAX para Android e iOS - com suporte a anúncios intersticiais, recompensados, banners e MRECs.
AppLovin/AppLovin-MAX-Flutter open-source repository details.
Texto original em inglês. Visite o GitHub para a versão atual.
AppLovin MAX Flutter Plugin for Android and iOS.
Check out our integration docs here.
See pub.dev for the latest releases of the plugin.
To get started with the demo app, please ensure Flutter is installed on your system. Once everything is properly installed, follow the instructions below to get the demo application up and running.
SDK_KEY and Ad Unit IDs in the main.dart file.com.applovin.enterprise.apps.demoapp to one that matches your ad units. Be sure to do this for every package name reference in the demo app.app/build.gradle:android/app/ to find the build.gradle file.build.gradle with a text editor or an IDE.applicationId with your package name.android {
⋮
defaultConfig {
applicationId "your_package_name"
⋮
}
app/build.gradle:dependencies {
// Other dependencies...
implementation 'com.example.adapter:version'
}
[!CAUTION] Do not add the underlying AppLovin SDK to your dependencies. The AppLovin MAX Flutter plugin already specifies the certified SDK version corresponding to the plugin. If you also manually add the dependency, this may break your build and cause unpredictable results.
implementation 'com.applovin:applovin-sdk:+'
AndroidManifest.xml with meta-data (if required):android/app/ directory, locate and open the AndroidManifest.xml file.meta-data, insert the necessary meta-data elements within the <application> tag.Podfile in the /ios folder.Podfile with a text editor or IDE.target 'Runner' do
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
pod 'AppLovinMediationExampleAdapter'
end
[!CAUTION] Do not add the underlying AppLovin SDK to your dependencies. The AppLovin MAX Flutter plugin already specifies the certified SDK version corresponding to the plugin. If you also manually add the dependency, this may break your build and cause unpredictable results.
pod 'AppLovinSDK'
Podfile, open a terminal and run the following commands to install the pods:pod install --repo-update
ios folder, find and open the Runner.xcworkspace file to launch Xcode.NSUserTrackingUsageDescription key to the Information Property List (Info.plist):NSUserTrackingUsageDescription to your Information Property List via Xcode or directly edit
Info.plist. This key is necessary so that your app can display the permission prompt for tracking user activity across apps.Info.plist
with the necessary key-value pairs.MIT