Setup the SDK

With Cotech SDKs, your app can take advantage of the latest security solutions for end-to-end encryption and authentication. SDK updates are distributed via our Maven repository. This makes it easy for you to integrate the newest versions that we have to offer.

Requirements

To develop an app using the Hardware Security SDK, you need to set up your project with the SDK, which is available from the Cotech Maven repository.

The minimum requirements for your app when using the SDK is:

  • Android >= 4.0 (min SDK 14)

Get Access to our Maven Repository

To get a username and password for our Maven repository, please contact us for a license.

Add the SDK to Your Project

Add this to your build.gradle:

repositories {
    google()
    jcenter()
    maven {
        credentials {
            username 'xxx'
            password 'xxx'
        }
        url "https://maven.cotech.de"
    }
}

dependencies {
    implementation 'de.cotech:hw-security:1.3'
}

Library Footprint

The SDK depends on the following libraries

  • ‘androidx.lifecycle:lifecycle-runtime:2.0.0’
  • ‘com.google.auto.value:auto-value-annotations:1.6.2’
  • ‘com.squareup.okio:okio:1.16.0’
  • ‘com.jakewharton.timber:timber:4.7.0’

Dependency Licenses

The Hardware Security SDK uses code from other projects. I order to comply with its license requirements we prepared a license text that should be included in your published app: License Text.