Skip to content

Set up with Gradle

Hassle-free setup on Android is now available using Gradle dependencies. The Gradle build system in Android Studio makes it easy to include external binaries or other library modules to your build as dependencies. So all you have to do is add some lines to your gradle file and the appropriate Android SDK files are included in your build.

Caution

The minimum API level supported by this library is API 15 (4.0.3).

Release notes

Release notes are available here: EcrSDK Release notes

Gradle dependencies

Add the following lines to your root build.gradle file to include the SDK in your Android Studio project:

Info

Latest version: Download

//build.gradle (Project: ...)
allprojects {
    repositories {
        maven { url "https://jitpack.io" }
        maven { url  "https://dl.bintray.com/wirecardmobileservices/Wirecard-ECR" }
    }
}


//build.gradle (Module: ...)
dependencies {
    def ecrVersion = "{{latestVersion}}"

    implementation "de.wirecard.ecr:EcrSdk:$ecrVersion"

}

Tip

After set up of SDK, you can continue with SDK Initialization section.