Documentation

Here you will find all the info you need to integrate the various monetization tools OfferToro has to offer.

Documentation

Android SDK

SDK version 4.0.1
Updated: May 22, 2019


1. Introduction

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.

The OfferToro Android SDK can be downloaded HERE .

Before you can integrate our SDK, you must first create a publisher account, then create an app placement.

Note: From SDK version 4.0.1 and on, please make sure the app monetization tool you are using is 'OfferWall - SDK'

2. Getting Started

OfferToro SDK requires minimum Android API level 14.

To integrate the SDK into your project, please follow the simple steps described below:

  • Step 1. Add the OfferToroSdk to your project

    OfferToroSdk-v4.0.1.aar file should be added to your project libs folder.
  • Step 2. Add following code to your Gradle file:

    The following code should be added to your build.gradle file:
    repositories {
        flatDir {
            dirs 'libs'
        }
    }
    dependencies {
        implementation 'com.google.android.gms:play-services-ads:9.6.1'
        implementation(name: 'OfferToroSdk-v4.0.1', 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>