Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 3.12 KB

README.md

File metadata and controls

67 lines (46 loc) · 3.12 KB

AppLovin MAX Unreal Plugin

AppLovin MAX Unreal Plugin for Android and iOS.

Documentation

Please check out our documentation to get started on integrating and enabling mediated networks using our guides.

Demo App

The plugin is contained in AppLovinMAX/. The AppLovinMAXDemo_5.2/ directory contains the demo app for UE5.

Getting Started

To get started with the demo app, follow the instructions below:

  1. Clone this repository. Move the AppLovinMAX/ plugin directory into the AppLovinMAXDemo_X.X/Plugins/ directory of the demo project compatible with your version of Unreal Engine.

    Your directory structure should appear as follows:

    AppLovinMAXDemo_X.X/
    ├─ Config/
    ├─ Content/
    ├─ Plugins/
    │  ├─ AppLovinMAX/
    │  │  ├─ AppLovinMAX.uplugin
    │  │  │  ...
    ├─ Source/
    │  ...
    
  2. Open the demo project in Unreal Engine.

    If you're building on macOS with Xcode 13.3+, uncomment the following lines in Source/AppLovinMAXDemo.Target.cs and Source/AppLovinMAXDemoEditor.Target.cs to compile the project:

    if ( Target.Platform == UnrealTargetPlatform.IOS || Target.Platform == UnrealTargetPlatform.Mac )
    {
        bOverrideBuildEnvironment = true;
        AdditionalCompilerArguments = ...;
    }
  3. Under Edit > Project Settings > Platforms, modify the settings for your desired mobile platform(s):

    • Android:
      1. Under APK Packaging, click Configure Now if the project is not configured for the Android platform.
      2. Update the Android Package Name with the unique identifier associated with the app you will create or have already created in the MAX dashboard.
    • iOS:
      1. Under Bundle Information, update the Bundle Identifier with the unique identifier associated with the app you will create or have already created in the MAX dashboard.
      2. Under Build, enable Automatic Signing and enter your IOS Team ID.
  4. Open the Constants.h file under AppLovinMAXDemo/Source/AppLovinMAXDemo/Public/.

  5. Update the SdkKey value with the AppLovin SDK key associated with your account.

  6. Update the MAX ad unit IDs for the ad formats you would like to test. Each ad format will correspond to a unique MAX ad unit ID you created in the AppLovin dashboard for the bundle ID used before. The demo app includes examples for both C++ and blueprint integrations.

    • C++: Update the values in Constants.h.
    • Blueprints: Open the widget blueprint for the corresponding ad format in the UE Editor (e.g., InterstitialMenu) and set the AdUnitIdentifier in the event graph. When the app is running, select the "Use Blueprint" checkbox in the ad format submenu to use the blueprint logic.
  7. Deploy the demo app to a platform using the Platforms button in UE5. Alternatively, package the project for a specific platform under File > Package Project...

License

MIT