Ionic
This is an Ionic-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 Ionic
- 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 commands to add the SDK to the project:
ionic cordova plugin add @regulaforensics/face-sdk
ionic cordova plugin add @regulaforensics/face-core-basic
ionic cordova plugin add @regulaforensics/face-sdk
ionic cordova plugin add @regulaforensics/face-core-match
src/app/home/home.page.ts:
import { FaceSDK } from '@regulaforensics/face-sdk'
Info
You can always use our demo application on GitHub.