Home / AppLovin / AppLovin Android SDK Mediation / Integrate the SDK with Maven

AppLovin Android SDK Mediation

Integrate the SDK with Maven

Add this line in your "build.gradle":

repositories {
mavenCentral()
}

dependencies {
implementation 'com.applovin:applovin-sdk:+'
implementation 'com.tappx.sdk.android:tappx-sdk:4.+'
implementation 'com.applovin.mediation:tappx-adapter:3+'
}

Activate geolocation (Recommended):

Setting the call to this function to "TRUE" will trigger custom ad search by geolocation. This it can cause revenue to increase by having more focused ads for the user. It must be placed in some main function know that it will be executed.

Tappx.setCollectLocationEnabled(context,true);