Integration

How to integrate the Android SDK into your native Android app.

SDK Version 10.0.0

Step 1 - App module

Once you have followed the minimum Requirements, go to your application module Gradle file and verify the minimum Android SDK is set to 26 and you have enabled Compose features.

    android {
      ...

      compileSdk = 36

      defaultConfig {
        ...
        minSdkVersion = 26
        targetSdk = 36
      }

      ...

      buildFeatures {
        compose = true
      }

      // We recommend you to set the JVM Toolchain to run the compiler
      // It must be, at minimum, 11
      kotlin {
        jvmToolchain(21)
      }
      
    }

Step 2 - Project Gradle module

In your project Gradle module file, add the following repository in your dependencyResolutionManagement block. This repository is necessary to enable some features of the SDK.

    dependencyResolutionManagement{
      ...
      repositories {
        ...
        maven { url = URI("https://jitpack.io") }
      }

    }

Step 3 - Adding the SDK as dependency

Then, add the Ready Remit SDK dependency into your dependencies block:


    ...
    dependencies {
      ...

      implementation("io.github.brightwellpayments:ReadyRemitSDK:10.0.0")
    }
⚠️

If you see this compilation error

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
  Could not find com.github.xposed73:AndroidPdfViewer:v1.0.0.
    Searched in the following locations: ...
    Required by:
        project :app > io.github.brightwellpayments:ReadyRemitSDK:10.0.0
  > Could not find com.github.jeziellago:compose-markdown:0.5.7.
    Searched in the following locations: ...
    Required by:
        project :app > io.github.brightwellpayments:ReadyRemitSDK:10.0.0

It means you have not added the Jitpack Repository in your project Build Gradle file.