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
cordova plugin add @valifysolutions/cordova-plugin-vidvlivenss@$LATEST_VERSION
iOS Project
Run the following command
pod install
In info.plist add the following
Privacy - Camera Usage Description
Navigate to “Plugins/VIDVLivenessPlugin.m” and change line 6 with the following
#import "AddProductModuleNameHere-Swift.h"
Android Project
Open the file Gradle Scripts | gradle.properties
and enable the following:
android.enableJetifier=true
android.useAndroidX=true
Add the following section to your manifest:
<activity android:label ="StartLiveness"
android:exported="true"
android:theme="@style/Base_Translucent"
android:name = "cordova.plugin.vidvliveness.VIDVLivenessActivity">
<intent-filter >
<action android:name = "cordova.plugin.vidvliveness.VIDVLivenessActivity" />
<category android:name = "android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Last updated