FacePlugin
Get in Touch
Android

Face Liveness Detection SDK for Android

A native Android SDK that runs passive face liveness detection entirely on-device – no network round-trip, no frames ever leaving the phone.

Get in Touch View on GitHub
Fully on-deviceNative Kotlin/Java SDKNo per-call fees
Young bearded man portrait
Live person
Liveness ✓
Requirements

What You Need to Run It on Android

These are the exact minimum and recommended requirements published in the FaceLivenessDetection-Android repository — check the repo directly for the latest version, since SDK requirements can change between releases.

Minimum Android versionAPI 24 (Android 7.0)
Architecturearm64-v8a, armeabi-v7a
Test deviceA physical phone – the emulator is not recommended
IDEAndroid Studio
Quick Start

Install and Activate

Install the SDK, then activate it with a license key before calling any liveness function – every platform follows this same activate-then-initialize pattern.

  • Clone the repo and download facelivenessdk.aar from the linked runtime.
  • Place it inside the libfacesdk/ module, next to libfacesdk/build.gradle.
  • Open the project in Android Studio and run it on a physical device – the home screen shows “Ready” once the SDK loads.
kotlin
// settings.gradle
include ':libfacesdk'

// app/build.gradle
implementation project(':libfacesdk')
minSdk 24
ndk { abiFilters 'arm64-v8a', 'armeabi-v7a' }

// on a background thread
val ret = FaceLivenessSDK.setActivation(context, "YOUR_LICENSE_KEY")
if (ret == 0) {
    FaceLivenessSDK.init(context)  // 0 = success
}
// Return codes: 0 success, 1 license invalid, 2 license expired,
// 3 not activated, 4 init failed
Licensing

How Licensing Works

Licenses are offline and bound to your app's application ID. The bundled demo key only activates for com.faceplugin.faceliveness – contact FacePlugin for a key scoped to your own app.

FAQ

Frequently Asked Questions

Does the Android SDK send biometric data to the cloud?

No. Every liveness check runs on your own server or directly on the device, depending on the platform – images never leave an environment you control.

How is the SDK licensed?

Licenses are offline and bound to a machine code, application ID, or bundle ID depending on the platform. Contact FacePlugin with that identifier to receive a license key – there are no per-call or per-check fees once licensed.

Where can I see the full source and open an issue?

The Android integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.

Related

Pairs Well With

Ready to Add Liveness Detection to Your Android App?

Talk to our team to get a license key and a 15-day evaluation period started.

Contact Sales Explore the SDKs