Adding the SDK

To integrate the SDK, follow these steps:

  1. Clone the Repository Clone the SDK repository to your local machine using the following command:

    git clone https://github.com/Cramiumlabs/sdk-mpc-android
    
  2. Add the SDK dependency to your project-level settings.gradle.kts:

    repositories {
        maven {
            url = uri("file://${rootProject.projectDir}/sdk-mpc-android/repo")
        }
    }
    
    include(":app")
    include(":sdk")
    
    // Specify the correct relative path to sdk module
    project(":sdk").projectDir = file("../sdk")
  3. Add the dependency to your app-level build.gradle:

    dependencies {
        implementation("com.cramium.mpc:sdk:SDK_VERSION")
    }
  4. Sync your project with Gradle files to download and integrate the SDK.

Last updated