Face Liveness Detection SDK for React Native
A React Native module that launches the native passive and active liveness screens on Android and iOS – no camera dependency in JavaScript, no frames over the bridge, nothing sent to a server.
What You Need to Run It on React Native
These are the exact minimum and recommended requirements published in the FaceLivenessDetection-ReactNative repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install and Activate
Install the package, place the engine runtime, then start the engine once with your license key before launching either liveness screen.
- Install the package with
yarn add face-liveness-sdk. The example app in the repo is a Yarn workspace of the same package. - Android: download
facerecognitionsdk.aarfrom the FaceRecognition-LivenessDetection-Android Releases page into alibfacesdk/module, addinclude(":libfacesdk")tosettings.gradle, and setminSdkVersion 24. - iOS: download the four frameworks from the FaceRecognition-LivenessDetection-iOS Releases page into
ios/Frameworks/, add the camera usage description, then runpod install. - Run on a physical phone and wait for the home status to show Ready before opening a liveness screen.
How Licensing Works
Licenses are offline and bound to your app’s applicationId (Android) or bundle ID (iOS), so your own app needs its own key – the demo’s key only activates for its demo package. After activation, FaceLivenessEngine.license reports what the key unlocks, and both liveness screens stay locked unless it grants Liveness. Contact FacePlugin for a key.
Frequently Asked Questions
Does the React Native 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 React Native integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Liveness Detection to Your React Native App?
Talk to our team to get a license key and a 15-day evaluation period started.