ID Document Recognition SDK for React Native
An on-device document-scanning SDK for React Native apps on Android and iOS – OCR, MRZ, and barcode/QR recognition as an npm package, fully on-premises.
WILLIAMS
GIVEN NAMESETHAN L.
DATE OF BIRTH22 SEP 1992
DOCUMENT NO.X8295147
X8295147<7AUR9209226M3205184<<<<03
What You Need to Run It on React Native
These are the exact minimum and recommended requirements published in the ID-Document-Recognition-React-Native repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install and Activate
Install the SDK, then activate it with a license key before calling any recognition function – every platform follows this same activate-then-initialize pattern.
yarn add document-reader-sdk@git+https://github.com/Faceplugin-ltd/ID-Document-Recognition-React-Native.git, thenyarn install.- Run
cd ios && pod install, then copy the native runtimes intonode_modules/document-reader-sdk/per the repo's path table. - Rebuild the native app – a JS-only reload isn't enough since this ships native code.
React Native Integration Notes
Details from the ID-Document-Recognition-React-Native README.
Yarn, not npm
Prerequisites are Node 18 or newer, Yarn 3, JDK 17 and Android NDK 26.1.10909125. Run yarn at the repository root (workspaces); npm install is unsupported.
Expo Go does not work
The package contains native Android and iOS code, so use a development build (bare React Native or an Expo prebuild), not Expo Go.
Native file locations
Android: documentreadersdk.aar into example/android/libdocsdk/. iOS: docsdk.framework into ios/Frameworks/, then bundle install and pod install in example/ios and set your Signing Team.
arm64 devices
Use a physical arm64 phone. iOS needs macOS and Xcode 15 or newer.
Other mobile stacks: Flutter and Ionic Capacitor. For the authenticity check itself, read about ID document liveness detection.
How Licensing Works
Licenses are offline and bound to your app's application ID (Android) or bundle ID (iOS). Demo keys are valid until 12 Aug 2027 – contact FacePlugin for a key scoped to your own app.
Frequently Asked Questions
Does the React Native SDK send document data to the cloud?
No. Every stage of document recognition runs on your own server or directly on the device, depending on the platform – scanned documents never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to the Android applicationId and iOS bundle id of your app. The key controls whether Recognition, Liveness (document authenticity) or both are unlocked. Contact FacePlugin with both identifiers.
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 Document Recognition to Your React Native App?
Talk to our team to get a license key and a 15-day evaluation period started.