FaceAISDK/FaceRecognition_ReactNative
ReactNative on-device face verification, liveness detection, and face enrollment for Android and iOS.
What it solves
Building face recognition into a mobile app normally requires a cloud service or complex native code. This project provides a ready-made React Native package that runs entirely on the device, so you can enroll faces, verify a person against a stored face (1:1), and check for liveness — no internet connection needed and no simulator support.
How it works
You install the published npm package @faceaisdk/react-native-face-sdk, then use the demo app in this repository as a reference. The SDK handles offline enrollment (saving a face as a feature), 1:1 verification (comparing a live face to an enrolled one), and liveness detection (confirming the face is real, not a photo or video). The project includes a doctor script that checks your toolchain and dependency versions. For Android you run Metro and then install on a physical device via USB; for iOS you run pod install, open the Xcode workspace, select your development team, and deploy to an iPhone. The README pins verified versions of Node, React Native, Xcode, Android SDK, and the native SDKs so the whole setup is reproducible.
Who it’s for
Mobile developers using React Native who need on-device face authentication without relying on a server. You’ll need a physical iOS device (15.5+) or Android device (API 24+), and familiarity with native build steps like installing pods and enabling USB debugging.
Highlights
- Completely offline: enrollment, 1:1 verification, and liveness detection run on the device.
- Provides a full React Native demo app to copy from.
- Includes a
doctorscript to validate environment and dependencies. - Verified toolchain versions are documented, and the plugin version is pinned for reproducibility.
Related
- Project
- Project
- Project
- Project