Installation Guide
iOS Minimum Requirements
iOS Version: 12
Xcode Version: 14.2
Camera access is mandatory
Android Minimum Requirements
Jetpack Library: AndroidX
Java Version: 11
API Level: 21 or higher (Android 5.0)
Compile SDK: 32 or higher
Camera access is mandatory (NOTE : The SDK handles permission requests, so you don't need to implement them in your app).
Installation
Add the following commands in your terminal to download the plugin
npm install @valifysolutions/react-native-vidvliveness@<LATEST_VERSION>
npm pod-install (ONLY FOR IOS).
iOS Project
In info.plist add the following
“Privacy - Camera Usage Description”
Android Project
Open the file Gradle Scripts | gradle.properties
enable the following:
android.enableJetifier=true
android.useAndroidX=true
Add this code into your AndroidManifest.xml file :
<manifest xmlns:android="http://s...content-available-to-author-only...d.com/apk/res/android"
xmlns:tools="http://s...content-available-to-author-only...d.com/tools">
<!-- Add the meta-data element here with tools:replace -->
<meta-data
android:name="com.google.mlkit.vision.DEPENDENCIES"
android:value="liveness"
tools:replace="android:value" />
Last updated