Authenteq API Documentation
  • Introduction
  • Create an Account
  • Documentation
    • Change Log
      • Mobile SDK
      • Web and API
    • Migration Guides
      • Mobile SDK 1.63 & WebIDV
      • Multi-Document Flow
    • Version Support
  • Mobile SDK
    • iOS
      • iOS Requirements
      • Installation
      • Identification
        • Identification Result
        • Document Identification Result
      • Face Authentication
      • Errors
      • Customization
    • Android
      • Android Requirements
      • Installation
      • Identification
        • Identification Result
        • Document Identification Result
      • Face Authentication
      • Customization
    • React Native
      • iOS
      • Android
    • Flutter
      • iOS
      • Android
    • Authentication Token
    • UI Customization
    • Examples
  • Web
    • Web Overview
    • Getting Started
    • How to Integrate Web?
    • Examples
    • API Reference
  • Export
    • Export Overview
    • API Reference
  • Webhook
    • Webhook Overview
  • AML
    • AML Overview
    • API Reference
  • Verification Links
    • Verification Links Overview
  • Recognition
    • Recognition Overview
    • API Reference
Powered by GitBook
On this page
  • Modules
  • Gradle integration
  • Proguard

Was this helpful?

  1. Mobile SDK
  2. Android

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.** {*;}
PreviousAndroid RequirementsNextIdentification

Last updated 2 years ago

Was this helpful?