Skip to content

Add Mappls SDK

Follow these steps to add the SDK to your project –

Add Mappls Repository

  • Add the Mappls repository to your settings.gradle or settings.gradle.kts file: #### Kotlin (settings.gradle.kts)
    pluginManagement {
        repositories {
            maven(url = "https://maven.mappls.com/repository/mappls/")
        }
    }
    dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven(url = "https://maven.mappls.com/repository/mappls/")
    }
    }
#### Groovy (settings.gradle)
    pluginManagement {
        repositories {
            maven {
                url 'https://maven.mappls.com/repository/mappls/'
            }
        }
    }
    dependencyResolutionManagement {  
    repositories {  
            google()  
            mavenCentral()  
            maven {  
                url 'https://maven.mappls.com/repository/mappls/'  
            }  
    }  
    } 

Adding Mappls Configuration file

  • Download Configuration files for your app (associated with Package Name and Signing Certificate SHA-256)
  • Add Configuration files (<appId>.a.olf and <appId>.a.conf) into the module app-level root directory of your app
  • Add Mappls Service Plugin as a dependency in your project level build.gradle or build.gradle.kts #### Kotlin (build.gradle.kts)
    buildscript {
        dependencies {
            classpath("com.mappls.services:mappls-services:1.0.0")
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
#### Groovy (build.gradle)
    buildscript {
        dependencies {
            classpath 'com.mappls.services:mappls-services:1.0.0'
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
  • Add Mappls Services Plugin in your app-level build.gradle or build.gradle.kts file #### Kotlin (build.gradle.kts)
    plugins {
        id("com.android.application")
        // Add the Mappls services Gradle plugin    
        id("com.mappls.services.android")
    }
#### Groovy (build.gradle)
    plugins {
        id 'com.android.application'
        // Add the Mappls services Gradle plugin
        id 'com.mappls.services.android'
    }

Import Mappls BoM

  • Add the Android Mappls Dependency in your app level build.gradle or build.gradle.kts file #### Kotlin (build.gradle.kts)
    // Import the Mappls BoM
    implementation(platform("com.mappls.sdk:mappls-bom:2.0.0"))

    // When using the BoM, you don't specify versions in Mappls library dependencies
#### Groovy (build.gradle)
    // Import the Mappls BoM
    implementation platform('com.mappls.sdk:mappls-bom:2.0.0')

    // When using the BoM, you don't specify versions in Mappls library dependencies

For any queries and support, please contact:

Email us at apisupport@mappls.com

Support Need support? contact us!



@ Copyright 2025 CE Info Systems Ltd. All Rights Reserved.