Skip to content

Integrating MimiSDK

In order to be able to download all the necessary artifacts that compose the MimiSDK, simply add the following lines to your build.gradle files:

Gradle dependencies

app/build.gradle

implementation 'io.mimi:sdk:SDK-VERSION'

local.properties

Once you have obtained your partner credentials via our Mimi Partner Portal Space, we suggest to store them inside your local.properties file or create it if it doesn't exist yet.

mimiMavenUser=PORTAL_USERNAME
mimiMavenPassword=PORTAL_PASSWORD

project/build.gradle

Lastly you will also need to add and listen to the following maven repository filled with your previously obtained partner credentials:

allprojects {
    repositories {
        google()
        mavenCentral()
        // Mimi artifacts repository
        maven {
            url "https://api.integrate.mimi.io/files/sdk/android"
            credentials {
                username = "${mimiMavenUser}"
                password = "${mimiMavenPassword}"
            }
            authentication {
                basic(BasicAuthentication)
            }
        }
    }
}