AppLovin iOS

From POKKT DOCUMENTATION
Jump to: navigation, search

AppLovin Pokkt Mediation

Last Update: 21st September, 2017


Pokkt SDK version used: 6.2

ApLovin SDK version used: 4.3.1


Download Latest Version Pokkt Mediation.


  1. Common AppLovin Pokkt Mediation:This is common documentation which is useful for all plugin.
  2. Xamarin Integration:Check the Steps Mentioned for Native.
  3. AIR Integration:Check the Steps Mentioned for Native.
  4. Marmalade Integration:Check the Steps Mentioned for Native.
  5. ShiVa Integration:There is no separate documentation needed, once you have exported the Xcode project, use the steps mentioned for Native integration.
  6. Cocos2d-x Integration:There is no separate documentation needed, once you have exported the Xcode project, use the steps mentioned for Native integration.
  7. Unity3D Integration:There is no separate documentation needed, once you have exported the Xcode project, use the steps mentioned for Native integration.
  8. Titanium Integration:There is no separate documentation needed, once you have exported the Xcode project, use the steps mentioned for Native integration.

Common Steps for AppLovin Pokkt Mediation

Step 1: Configure Pokkt Dashboard

  • Create account at https://www.pokkt.com
  • To use the AppLovin Mediation please enter the following details on Pokkt Dashboard:
    Applovin config.jpg


  • Class Name (required):This is the class name that you define inside your application to set up the network. Classname for the network can be set during SDK integration. If you are using Pokkt’s default adaptors for mediation, then class name will be “AppLovin” (you can simply copy-paste it without the quotes).
  • Amount (required):Provide reward value which user will get after watching ad.
  • Virtual Currency (required):This is the name of reward amount like gold or coin.
  • ECPM (required):Put your expected value of ECPM which will in turn rank this network in comparison to other configured networks.

Step 2 : Configuration in Application

  • Download the mediation project from POKKT and it is recommended to use the same class file AppLovinin your project. And if you want to do some changes please do those changes in same file.
  • The downloaded zip file will contain an api_docs folder, a headers folder, and a libAppLovinSdk.a file.
  • To add the SDK to your application, simply drag the libAppLovinSdk.a file and headers folder to your Xcode project.
  • Go to your Project Settings. Select Info, click on one of the rows of Custom iOS Properties and click the + to add a new row. The key of the new row key should be AppLovinSdkKeyand the value should be “xxxx-xxxx”:
  • Link the following framework in to your project:

    - AdSupport

    - AVFoundation

    - CoreTelephony

    - CoreGraphics

    - CoreMedia

    - StoreKit (NEW)

    - SystemConfiguration

    - UIKit

For More info:https://www.applovin.com/integration#iosIntegration


Xamarin iOS

Follow the below steps to integrate Mediation in Xamarin iOS project:

  1. Copy downloaded file libAppLovinExtension.a in your project folder.
  2. Open project option by right click on your project and select “iOS Build” from left pane and then add the libAppLovinExtension.a details and required framework of AppLovin inside “Additional mtouch arguments” like below. This is working so you can try with this also.
  3. -gcc_flags "-F${ProjectDir} -framework CFNetwork -framework CoreGraphics -framework AudioToolbox -framework CoreLocation -framework EventKitUI -framework MessageUI - framework Security -framework Social -framework MobileCoreServices -framework WebKit -weak_framework StoreKit -L${ProjectDir} -lAppLovinExtension -lAppLovinSdk - force_load ${ProjectDir}/libAppLovinExtension.a -force_load ${ProjectDir}/libAppLovinSdk. a"
  4. Add CFNetwork framework inside project folder also if needed.
  5. Follow above all process to complete integration.

AIR iOS

Follow the below steps to integrate Mediation in AIR iOS project:

  1. Add downloaded file AppLovinExtension_iOS.ane in your project.
  2. Download AppLovin ANE from below link and add this one in your project:
    https://applovin.com/integration#adobeAirIntegration
  3. Follow above all process to complete integration and also check our given example specially app.xml file.

Marmalade iOS

Please follow the below steps to integrate Mediation in Marmalade iOS project:

  1. Please check downloaded file which has libAppLovinExtension.a” and this need to be added in your main project .mkb file like below:
    • iphone-link-lib='AppLovinExtension'
    • iphone-link-libdir=‘$CWD’
    • And AppLovin fat file (.a) (which you need to download from AppLovin support site) also need to add like below under deployment section:
    • iphone-link-lib='AppLovinSdk'
    • iphone-link-libdir='$CWD'
    • And please add required frameworks for this. please check our given sample app.
  2. If you see error related to CFNetwork framework not found then please add CFNetwork framework in your project folder and update .mkb file like below:

    iphone-link-opts="-F$CWD -framework CFNetwork”

  3. Follow above all process to complete integration and also check our given example. !