搜索插件、代码仓与 APP 分类

插件详情v4.6.4

applovin_max

适用于 Android 和 iOS 的 AppLovin MAX Flutter 插件 - 支持插页式广告、激励式广告、横幅广告和 MRECs。

AndroidiOS
近 30 天下载
1.5万
喜欢数
85
Pub 分数
130

安装插件

flutter pub add applovin_max

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

AppLovin MAX Flutter 插件可帮助在 Android 和 iOS 上的 Flutter 应用中集成高性能广告。它支持插屏、激励视频、横幅和 MREC 广告格式,为开发者提供统一的接口来管理变现。该插件通过 AppLovin 的先进中介平台,实现无缝设置和可靠的广告投放。支持实时竞价和智能广告优化,有助于在保持用户体验的同时最大化收益。

适合场景

  • 移动游戏变现
  • 显示应用内横幅
  • 通过视频广告奖励用户
  • 集成原生广告格式
  • 优化跨网络的广告收入

主要特点

  • 支持多种广告类型
  • 实时竞价集成
  • 跨平台兼容性
  • 广告表现分析
  • 通过 pub.dev 轻松集成 Flutter

适合对象

  • 寻求广告变现的Flutter开发者
  • 面向全球受众的移动应用发布商
  • 需要激励广告的游戏和内容应用
  • 使用 AppLovin 中介网络的开发者
  • 应用需要最少的广告实施工作

使用建议

  • 需要 AppLovin 账户设置
  • 需要合适的广告投放策略
  • 如果使用过度,可能会影响用户体验
  • 取决于网络可用性
  • 遵守隐私法规要求

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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:
  • Navigate to your Flutter project directory in your file explorer or terminal.
  • Within the project directory, navigate to android/app/ to find the build.gradle file.
  • Open build.gradle with a text editor or an IDE.
  • Update applicationId with your package name.
android {
    ⋮
    defaultConfig {
        applicationId "your_package_name"
        ⋮
    }
2. Adding adapters to app/build.gradle:
  • Add the necessary adapters for the mediated ad networks you plan to integrate, as specified in the documentation. It will look something like this:
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:+'

3. Updating AndroidManifest.xml with meta-data (if required):
  • Within the android/app/ directory, locate and open the AndroidManifest.xml file.
  • If the mediated ad network adapter you add requires meta-data, insert the necessary meta-data elements within the <application> tag.
iOS
1. Adding adapters to your podfile:
  • Locate your Podfile in the /ios folder.
  • Open the Podfile with a text editor or IDE.
  • Add the necessary adapter pods for the mediated networks you're integrating, as specified in the documentation. It will look something like this:
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'

2. Installing the Pods:
  • After you save the Podfile, open a terminal and run the following commands to install the pods:
pod install --repo-update
3. Updating the Bundle Identifier with your package name:
  • In your Flutter project's ios folder, find and open the Runner.xcworkspace file to launch Xcode.
  • Select the Signing and Capabilities tab and update the Bundle Identifier with your package name, ensuring it matches the package name configured in your AppLovin dashboard.
4. Adding the NSUserTrackingUsageDescription key to the Information Property List (Info.plist):
  • Add 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.
5. Updating 'Info.plist' (if required):
  • If the mediated ad network adapter you add requires an information property, update Info.plist with the necessary key-value pairs.

License

MIT

所属分类

依赖

依赖清单 1 项

  • plugin_platform_interface^2.0.2

源码仓库

使用此插件的项目

暂无相关数据。