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:6.5.0'

gradle/wrapper/gradle-wrapper.properties

In order to be able to download our MSDK artifacts, you will need to specify 5.6.3 as the minimum gradle version in your project.

distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-all.zip

gradle.properties

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

mimiMavenUser=PORTAL_USERNAME
mimiMavenPassword=PORTAL_PASSWORD

Note: As a measure to avoid security issues and compromising your credential keys, we recommend to avoid committing these ones to any repository and store them locally on your machine instead.

project/build.gradle

Lastly you will also need to add and listen to the following maven repository filled with your previously obtained 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)
            }
        }
    }
}
© 2023 Mimi Hearing Technologies GmbH