Integration Documentation(Default Layout)

Installation

  1. Add the repository

  2. Add the dependencies in your project's gradle:

  3. If your application has package size constraints or you need to reduce the app bundle size, you can optimize by excluding the model file module from the dependencies in step 2. This modification reduces the SDK package size by approximately 1.4MB. The model files will be downloaded automatically when users first launch the SDK. Please be aware that network connectivity issues may cause download failures.

Usage

  1. Initialization SDK.

    The init method need to be called in your application class

  2. Check license

    The license is obtained by your server calling our openAPI, you need to check license before starting the liveness detection activity.

  3. You can create SDK launch parameters using the method below. For valid values of livenessType, please refer to this link.

  4. Start liveness detection

Error Code

See Error Code

FAQ

See FAQ