Skip to content
프로젝트

FaceAISDK/FaceRecognition_ReactNative

GitHub에서 보기

소개

Android 및 iOS용 React Native 온디바이스 얼굴 인증, 생체 활력 감지 및 얼굴 등록 기능입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

FaceAISDK

FaceAISDK · React Native

Offline enrollment · 1:1 verification · Liveness detection · Feature management

English · 简体中文

Quick start · Integration & API · Demo source

npm SDK 1.9.0

Version 1.9.0 of @faceaisdk/react-native-face-sdk updates the Android SDK to 2026.11.30 and iOS Core to 2026.12.02.

The demo on main pins SDK 1.9.0 and React Native 0.84.0.

Physical devices required: iOS 15.5+ or Android API 24+. Simulators are not supported.

Quick start

Install dependencies

npm ci
npm run doctor

doctor checks dependency versions and the local toolchain. To check one platform, use npm run doctor -- --android or npm run doctor -- --ios.

Android

Connect and unlock the phone, enable USB debugging, and accept the computer's authorization prompt.

# Terminal 1 — keep Metro running on port 8765
npm start
# Terminal 2 — install and run on the device
npm run android

The 1.9.0 arm64 Release build was tested on a Xiaomi 25098PN5AC using NDK 27.0.12077973. The app launched, opened the feature import form, and returned to the home screen.

iOS

cd ios && pod install --deployment && cd ..

Open ios/FaceAISDK_RN.xcworkspace, select your own Development Team, and connect an unlocked iPhone.

npm run ios

React Native 0.84 requires Xcode 16.1 or later. The 1.9.0 iOS plugin passed arm64 Debug and Release compilation. Full app installation and face flows on iPhone are pending verification.

The shared scheme runs Release by default, with JavaScript bundled. For Debug, start Metro with npm start, then use npm run ios -- --mode Debug.

iOS 16 and earlier

Use the legacy installer:

npm run ios:legacy

It installs Release; tap the app icon to launch. The build log is saved to ios/build/ios-legacy.log.

Try the demo

Enroll with the camera and confirm saving, then query or verify demo-user. For feature or image imports, paste your data on the phone or use the last camera enrollment if it returned the required data. Successful imports overwrite this demo ID. Deleting the record also clears the in-memory enrollment sample.

Environment & versions

Node.js 22.11+ is required. Install Android components in SDK Manager and configure ANDROID_HOME or android/local.properties.

View the reference toolchain and pinned dependencies
Component Version
Node.js / npm 26.0.0 / 11.12.1
React Native / CLI 0.84.0 / 20.2.0
Xcode / Swift / CocoaPods 26.6 (17F113) / 6.3.3 / 1.16.2
JDK 17
Android SDK / Build Tools 34 / 35.0.0
Android NDK / CMake 28.1.13356709 / 3.22.1
Gradle wrapper 8.14.3 (included in the project)
Native SDK — Android 2026.11.30
Native SDK — iOS Core 2026.12.02

The npm plugin pins the iOS Core version in its podspec. After upgrading the plugin, run pod install in ios/ and commit both lockfiles.

Troubleshooting

Symptom What to check
SDK unavailable Install dependencies and Pods, then rebuild the native app.
Version conflict Run npm run doctor; restore matching lockfiles before reinstalling.
No enrolled feature Enroll a face and confirm saving before verification.
Debug page does not load Check Metro and device access to port 8765.
iOS installation fails Run from Xcode; use ios:legacy for iOS 16 and earlier.

Report an issue · [email protected]

관련 프로젝트 살펴보기

불러오는 중…