AppLovin / AppLovin-MAX-Flutter

MIT License
56 stars 29 forks source link

AppLovin MAX Flutter Plugin

AppLovin MAX Flutter Plugin for Android and iOS.

Documentation

Check out our integration docs here.

Downloads

See pub.dev for the latest releases of the plugin.

Demo App Instructions

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.

  1. Obtain your AppLovin SDK Key from the dashboard here.
  2. Obtain your Ad Unit IDs from the dashboard here.
  3. Update the SDK_KEY and Ad Unit IDs in the main.dart file.
  4. Update the package name from 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.

Android

1. Updating the package name in app/build.gradle:

2. Adding adapters to app/build.gradle:

3. Updating AndroidManifest.xml with meta-data (if required):

iOS

1. Adding adapters to your podfile:

[!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'

2. Installing the Pods:

3. Updating the Bundle Identifier with your package name:

4. Adding the NSUserTrackingUsageDescription key to the Information Property List (Info.plist):

5. Updating 'Info.plist' (if required):

License

MIT