Login
Welcome
Login

Import the Teads inApp SDK in your project


Prerequisites

  • Min Android SDK Version level 28+ (98.1%+)
  • Android gradle plugin to v3.2.1 or later
  • AndroidX support libraries

Import the Teads inApp SDK

Import the Teads inApp SDK with a Gradle dependency that points to Teads' Maven repository. In order to use that repository,
you need to reference it in the project build.gradle file.

project/build.gradle

repositories {
     maven { url  "https://teads.jfrog.io/artifactory/SDKAndroid-maven-prod" }
     maven {
       // Mandatory for Huawei device compatibility
       url  "https://developer.huawei.com/repo/"
     }
   }

app/build.gradle

dependencies {
  ...
  // Required dependency
  implementation 'com.google.android.gms:play-services-ads:20.2.0' // or higher

  // Teads inApp SDK
  implementation("tv.teads.sdk.android:sdk:5.x.x@aar") {
    transitive = true
  }

  // Mandatory for Huawei device compatibility
  implementation 'com.huawei.hms:ads-identifier:3.4.28.313' // or higher
}

Run Gradle sync to download the SDK.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.