-
Download or the clone current repository using the command
git clone https://github.com/regulaforensics/npm-face-sdk.git. -
Execute
npm run setupwithin this directory. -
Run the app:
- IOS:
npm run ios. - Android:
npm run android.
Note: this is just one way of running the app. You can also pass -- -o or -- --open argument to the command, and this will open Xcode/Android Studio, then run the app directly from the IDE. Overall, this is a more consistent way, so if you're having troubles running the app from terminal, try running it from the IDE.
-
Place a license that supports offline match at
assets/regula.license. -
Change core with the following commands:
ionic cordova plugin remove @regulaforensics/face-core-basic
ionic cordova plugin add @regulaforensics/face-core-match- Turn off the internet and run the app.