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)
Gradle integration
In your
build.gradleyou 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 21Authenteq 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.xmlby changing theallowBackupattribute totrue
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.** {*;}Last updated
Was this helpful?