Skip to content

an ANE wrapper for AppLovin's SDK

License

Notifications You must be signed in to change notification settings

Heyzap/applovin-ane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppLovin ANE

A thin wrapper around the AppLovin Android and iOS SDK for use on Heyzap's mediation.

The latest release can be found in Releases.

Pull requests and issues are welcome.

AppLovin Versions

  • iOS: 4.3.1
  • Android: 7.3.2

Adding to your project

  • Add the AppLovin.ane to your Adobe Flex Builder or Adobe Flash project.

  • If on Android, follow the integration instructions on Heyzap or add the following permissions and activities to your Android Manifest in your application descriptor:

    <!-- Required by AppLovin, and Heyzap Ad Network -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
    <!-- Required by AppLovin, and Heyzap Ad Network -->
    <uses-permission android:name="android.permission.INTERNET" />
    
    <!-- Required by AppLovin -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     <!-- AppLovin -->
    <activity android:name="com.applovin.adview.AppLovinInterstitialActivity" android:configChanges="orientation|screenSize" />
    <activity android:name="com.applovin.adview.AppLovinConfirmationActivity" android:configChanges="orientation|screenSize" />
    <meta-data android:name="applovin.sdk.key" android:value="** YOUR SDK KEY **" />
  • If not done automatically, add the follow extension context to your application descriptor:

     <extensions>
         <extensionID>com.heyzap.sdk.extensions.applovin</extensionID>
     </extensions>

Updating AppLovin

For iOS:

  • Replace AppLovinSDK.framework in ios/Vendor with a newer version.

For Android:

  • Replace AppLovin.jar in android/libs with a newer version.
  • Update android/platform.xml with any new android libraries that the newer version might be dependent on. Android libraries can be added under the packagedDependencies tag. The actual .jar files can be added to the andorid/libs directory.

After making the necessary modifications, build the new ANE by following the building instructions below.

Building

Requirements:
Building:
  • Make a build.config by copying build.config.dist (your local config file)
  • Add the path to your AIR SDK in build.config (under air.sdk)
  • From the root of the repository, run ant.

After build completes, the native extension will be in bin/AppLovin.ane.