The OfferToro Android SDK gives Android developers an easy way to integrate the OfferToro OfferWall, Rewarded Video, Non-incent OfferWall and SurveyWall modules into their native Android apps.
Before you can integrate our SDK, you must first create a publisher account, then create an app placement.
The OfferToro Android SDK can be downloaded from your publisher account under SDK section.
Note: From SDK version 4.1.0 and on, please make sure the app monetization tool you are using is 'SDK - Android'
Please make sure the monetization tool of the app you are using matches the required monetization tool of the integration. An integration with wrong monetization tool might not work.
To integrate the SDK into your project, please follow the simple steps described below:
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation 'com.google.android.gms:play-services-ads:9.6.1'
implementation(name: 'OfferToroSdk-v4.1.0', ext: 'aar')
}
Note: usesCleartextTraffic should be set to true on devices having Android 9 and up in order to allow a full communication with offertoro server. This setting should be added to the application manifest file:
<application
...
android:usesCleartextTraffic="true"
...
</application>