Comment on page

Installation

Modules

Authenteq SDK consist in 4 different modules:
  • Core (required)
  • Live ID document scanner (optional)
  • Live ID document scanner database (optional)
  • Live Proof of Address scanner (optional)
Live ID document scanner will be activated only on device with min 2GB of RAM

Gradle integration

  • In your build.gradle you first need to add the Authenteq Sdk maven repository to your repositories list:
repositories {
maven {
url 'https://repo.app.authenteq.com/repository/maven-hosted'
}
}
  • Set min Android SDK to level 21 (Android 5.0) in build.gradle
minSdkVersion 21
  • Authenteq Sdk contains Java 8 bytecode. Enable desugaring by adding the following lines to build.gradle
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
  • Once done, add Core module as a dependency to your application:
dependencies {
implementation('com.authenteq.android:flow:(insert version)$@aar') {
transitive = true
}
}
Make sure transitive is set to true.
  • To enable Live ID document scanner add the following dependency:
dependencies {
implementation('com.authenteq.android:flow-docscanner:(insert version)$@aar') {
transitive = true
}
}
Make sure transitive is set to true.
  • Optionally add a dependency to Live ID document scanner database (otherwise it will be downloaded at runtime):
dependencies {
implementation('com.authenteq.android:flow-docscanner-db:(insert version)$@aar')
}
  • Optionally, to enable live document detection on "Proof of Address", add the following dependency:
dependencies {
implementation 'com.authenteq.android:opencv:3.4.14@aar'
}
  • Adjust backup settings in AndroidManifest.xml by changing the allowBackup attribute to true
android:allowBackup="true"
or disable it by adding this attribute in application tag
tools:replace="android:allowBackup"
this also require to add the following attribute in manifest tag
xmlns:tools="http://schemas.android.com/tools"

Proguard

Proguard is used for obfuscation.
-keep class com.authenteq.android.** {*;}