Migrating to SDK 10.8.X

Direct Integration

Integration via Gradle

  1. Include mavenCentral in your top-level build.gradle file:

    allprojects { 
        repositories { 
            mavenCentral() 
        } 
    }
    
  2. Add the following line to the dependencies element in your application module’s build.gradle.

     implementation 'com.inmobi.monetization:inmobi-ads-kotlin:10.8.0'
    	

Manual Integration

Alternatively, you can download the latest version of InMobi’s Kotlin SDK and copy the library to your application module’s libs/directory.

  1. Please add the following dependencies to your modules ‘build.gradle’ for integrating inmobi-ads-kotlin in addition to the dependencies mentioned in the support portal.

    implementation "androidx.core:core-ktx:1.5.0" 
    implementation "com.inmobi.omsdk:inmobi-omsdk:1.4.12.0"
    
  2. Follow the next steps from Add & Verify Dependencies.

On This Page

Last Updated on: 14 Nov, 2024