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.
- iOS: 4.3.1
- Android: 7.3.2
-
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>
For iOS:
- Replace
AppLovinSDK.framework
inios/Vendor
with a newer version.
For Android:
- Replace
AppLovin.jar
inandroid/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 theandorid/libs
directory.
After making the necessary modifications, build the new ANE by following the building instructions below.
- Mac OS X
- XCode
- Apache Ant
- AIR SDK
- Make a
build.config
by copyingbuild.config.dist
(your local config file) - Add the path to your AIR SDK in
build.config
(underair.sdk
) - From the root of the repository, run
ant
.
After build completes, the native extension will be in bin/AppLovin.ane
.