Skip to content

n0xgg04/expo-applovin-ads

Repository files navigation

Applovin Ads For Expo

Use Applovin Plugin for Expo (without prebuild)

See example at https://github.com/n0xgg04/expo-applovin-ads-example

I. Installation

npm install expo-applovin-ads react-native-applovin-max

or Yarn:

yarn add expo-applovin-ads react-native-applovin-max

II. Add to app.json

Add to your app.json:

  "plugins": [
    ...other plugins,
    [
        "expo-applovin-ads/expo",
        {
          "apiKey": "YOUR_AD_REVIEW_KEY_HERE"
        }
    ]
]

Get keys on Applovin Account Tab. Click here

III. Add script to package.json (Optional: Do this if you application supports iOS)

  • Hook for EAS Build iOS
    "eas-build-post-install": "node ./node_modules/expo-applovin-ads/scripts/eas-build-post-install-script.js",

Now, you have to build a development build and install it on a device before run dev client

eas build --platform android --clean

If you don't know how to use EAS? Read on Expo Docs

IV. Integration

Add to root component:

import {AppLovinMAX, Configuration } from 'react-native-applovin-max';

AppLovinMAX.initialize("YOUR_SDK_KEY_HERE").then((conf: Configuration) => {
}).catch();

See more

About

Applovin Plugin for Expo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages