LogoSignature Service
SmartContract SDKAndroid SDK

Installation

Prerequisites

  • A device running Android 8 or newer
  • Android Studio

Setup

SmartContract SDK is provided as an Android Archive Library (AAR). We recommend integration of our compiled library into your project using Android Studio and Gradle.

As of version today, the library is not yet available on a public maven repository. However, it can be added manually to the local maven repository using the following maven command :

$ mvn install:install-file -Dfile=path-to-your-artifact-aar \
                         -DgroupId=com.swisssign.letssign \
                         -DartifactId=sense-smartcontract-sdk-android-lib \
                         -Dversion=2024.0.0 \
                         -Dpackaging=aar \
                         -DpomFile=path-to-thepom-file

The dependency is then available through your maven local repository. The gradle configuration can be updated with the changes below.

repositories {
  mavenLocal()
}
...
dependencies {
  implementation ("com.swisssign.letssign:sense-smartcontract-sdk-android-lib:2024.0.0@aar") {
    transitive = true
  }
}

External dependencies

SmartContract SDK depends on few libraries that are listed in a dedicated file packaged alongside the SDK. Those transitive dependencies must be declared into your build.gradle file.

On this page