Current SDK Version
- 3.42.0
Note that since version 3.41.0 DT FairBid and DT Offer Wall are integrated through the same SDK - the DT FairBid SDK.
Prerequisites
- Android 4.1 (API Level 16)+
- Google Play Services 11.4.0+
Integration
DT supports both Gradle dependencies and manual download to integrate our SDK:
Gradle
Add DT's maven repository and plugins to your gradle build script:
- Add the following to your project’s root level build.gradle file inside the repositories section:
In root level build.gradle there are usually two repositories sections - one for buildscript and one for allprojects. Add the entry in allprojects.
allprojects { repositories { mavenCentral() } ... }
- Add the following to your project’s app level build.gradle file inside the plugins section (further documentation):
plugins { ... id 'com.fyber.fairbid-sdk-plugin' version '3.42.0' ... }
- If you support Android SDK below 26, you must add the following snippet to the Android section (for Java Version Compatibility):
android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } ... }
Manual Download
- Download the DT FairBid SDK
- Extract inner zip file
- Import the
aar
packages into your project.