Skip to content

Integration of the IOMB Lib Android

The integration of the IOMb library Android is done in a few steps via Maven:

Android Studio: Open Gradle Build Configuration of the application, there under "repositories" enter the following statements.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
repositories {
    maven {
        url "https://repo.infonline.de/api/v4/projects/5/packages/maven"
        name "INFOnline" { credentials(HttpHeader)

        credentials(HttpHeaderCredentials) {
            name = "Private-Token
            value = '[DEVELOPER-ACCESS-TOKEN]'
        }
        authentication {
            header(HttpHeaderAuthentication)
        }
    }
}
Android Studio: Under "dependencies", reference the IOMb library.

1
2
3
4
dependencies {
    implementation 'en.infonline:iomb-library:1.0.0' // adjust version number for updates
    ...
}
note

The credentials for accessing the IOMb Library Maven repository are assigned by INFOnline. The corresponding access token must be entered here instead of [DEVELOPER-ACCESS-TOKEN].


Last update: January 7, 2022