Cordova
This is a Cordova-specific Face SDK installation guide. Before proceeding further, make sure you've read the Installation page and have selected the Core type to install.
Warning
Face SDK release 7.1 introduced the unified NPM package that supports React, Ionic, and Cordova wrappers in a single JavaScript distribution. The individual packages for each wrapper are now deprecated and will only be supported for a few upcoming releases before being removed in future versions. We’ll provide advance notice prior to their removal. Follow the Migration Guide for detailed transition steps to the new unified package.
Requirements
- The latest stable version of Cordova
- For iOS, the minimum target is iOS 13.0
- For Android, the minimum Android API level is 21
Installation
The Face SDK is available on npm.
Run the following command to add the SDK to the project:
cordova plugin add @regulaforensics/face-sdk
cordova plugin add @regulaforensics/face-core-basic
cordova plugin add @regulaforensics/face-sdk
cordova plugin add @regulaforensics/face-core-match
www/js/index.js:
FaceSDK = FaceSDKPlugin.FaceSDK
Info
You can always use our demo application on GitHub.