搜尋套件、儲存庫與 APP 分類

套件詳情v4.6.4

applovin_max

適用於 Android 與 iOS 的 AppLovin MAX Flutter 插件 - 支援插頁廣告、獎勵廣告、橫幅廣告與 MRECs。

AndroidiOS
近 30 天下載
1.7萬
喜歡數
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

原始碼儲存庫

使用此套件的專案

暫無相關資料。