React Native SDK
The VLens React Native SDK wraps the full identity verification flow — national ID scanning, ID review, and liveness detection — in a single VLensView component with support for Arabic and English.
Requirements
- React Native 0.73+ or Expo SDK 50+
- Node 18+
- Android NDK 27.3.13750724
- iOS 14+
Installation
Install the SDK and its peer dependencies:
Then install required peer dependencies:
Platform setup
Expo
Add the VisionCamera plugin to your app.json:
Then rebuild your native project:
Android
The v1.0.0 release includes full support for Google Play’s 16 KB page alignment requirement (mandatory from May 2025). A postinstall patch is applied automatically.
Ensure your project uses NDK 27.3.13750724 in android/local.properties or your build.gradle.
iOS
Run pod install after adding the peer dependencies:
Add the camera permission to your Info.plist:
Quick start
Configuration
env — environment credentials
VLensView — all props
colors — custom branding
Verification modes
Full verification (default)
Liveness only
ID scan only
Relation to the REST API
The SDK wraps the same REST endpoints documented in the Digital Identity guide:
Support
For issues or inquiries, contact support@vlenseg.com with your tenant name, the error code and message, and the SDK version.

