Skip to content

Commit 9bf3646

Browse files
author
Jenkins
committed
7.1.407
1 parent a319dd3 commit 9bf3646

File tree

9 files changed

+88
-999
lines changed

9 files changed

+88
-999
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# Regula Face API (Ionic version)
1+
# Deprecated
2+
This plugin is deprecated and `7.1` is the last release. We kindly recommend migrating to our new plugin `@regulaforensics/face-sdk`:
3+
* [github](https://github.com/regulaforensics/npm-face-sdk)
4+
* [npmjs](https://www.npmjs.com/package/@regulaforensics/face-sdk)
5+
6+
## Regula Face API (Ionic version)
27
Face API is a framework that is used for face matching, recognition and liveness detection.
38

4-
# Contents
9+
## Contents
510
* [How to build the demo application](#how-to-build-the-demo-application)
611
* [How to use offine match](#how-to-use-offine-match)
712
* [Documentation](#documentation)
@@ -23,7 +28,7 @@ $ ionic cordova prepare
2328
4. iOS:
2429
* Run `ionic cordova run ios` inside example folder - this is just one way to run the app. You can also run it directly from within Xcode.
2530

26-
## How to use offine match
31+
## How to use offline match
2732
1. Place a license that supports offline match at `src/assets/regula.license`.
2833
2. Change `android-packageName` and `ios-CFBundleIdentifier` in `config.xml` if required by your license.
2934
3. Run the following commands:

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@regulaforensics/cordova-plugin-face-api": "6.4.547",
17-
"@regulaforensics/ionic-native-face-api": "6.4.354",
18-
"@regulaforensics/cordova-plugin-face-core-basic": "6.4.201",
16+
"@regulaforensics/cordova-plugin-face-api": "7.1.609",
17+
"@regulaforensics/ionic-native-face-api": "7.1.407",
18+
"@regulaforensics/cordova-plugin-face-core-basic": "7.1.296",
1919
"cordova-plugin-camera": "7.0.0",
2020
"@awesome-cordova-plugins/camera": "6.6.0",
2121
"@awesome-cordova-plugins/core": "6.6.0",

index.d.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export declare class FaceCaptureConfig {
6969
torchButtonEnabled?: boolean;
7070
vibrateOnSteps?: boolean;
7171
detectOcclusion?: boolean;
72+
showFaceAnimation?: boolean;
7273
cameraPositionAndroid?: number;
7374
cameraPositionIOS?: number;
7475
screenOrientation?: number[];
@@ -150,6 +151,7 @@ export declare class FaceSDKVersion {
150151
export declare class InitConfig {
151152
license?: string;
152153
licenseUpdate?: boolean;
154+
useBleDevice?: boolean;
153155
static fromJson(jsonObject?: any): InitConfig | undefined;
154156
}
155157
export declare class InitException {
@@ -629,6 +631,9 @@ export declare const FaceCaptureErrorCode: {
629631
export declare const LivenessBackendErrorCode: {
630632
UNDEFINED: number;
631633
NO_LICENSE: number;
634+
NOT_INITIALIZED: number;
635+
COMMAND_IS_NOT_SUPPORTED: number;
636+
PARAMS_READ_ERROR: number;
632637
LOW_QUALITY: number;
633638
TRACK_BREAK: number;
634639
CLOSED_EYES_DETECTED: number;
@@ -648,6 +653,14 @@ export declare const LivenessBackendErrorCode: {
648653
WRONG_GEO: number;
649654
WRONG_OF: number;
650655
WRONG_VIEW: number;
656+
TIMEOUT_LIVENESS_TRANSACTION: number;
657+
FAILED_LIVENESS_TRANSACTION: number;
658+
ABORTED_LIVENESS_TRANSACTION: number;
659+
GENERAL_CHECK_FAIL: number;
660+
PASSIVE_LIVENESS_FAIL: number;
661+
PRINTED_FACE_DETECTED: number;
662+
BLOCKED_REQUEST: number;
663+
CORRUPTED_REQUEST: number;
651664
};
652665
export declare const ProcessingMode: {
653666
ONLINE: number;
@@ -955,6 +968,9 @@ export declare const Enum: {
955968
LivenessBackendErrorCode: {
956969
UNDEFINED: number;
957970
NO_LICENSE: number;
971+
NOT_INITIALIZED: number;
972+
COMMAND_IS_NOT_SUPPORTED: number;
973+
PARAMS_READ_ERROR: number;
958974
LOW_QUALITY: number;
959975
TRACK_BREAK: number;
960976
CLOSED_EYES_DETECTED: number;
@@ -974,6 +990,14 @@ export declare const Enum: {
974990
WRONG_GEO: number;
975991
WRONG_OF: number;
976992
WRONG_VIEW: number;
993+
TIMEOUT_LIVENESS_TRANSACTION: number;
994+
FAILED_LIVENESS_TRANSACTION: number;
995+
ABORTED_LIVENESS_TRANSACTION: number;
996+
GENERAL_CHECK_FAIL: number;
997+
PASSIVE_LIVENESS_FAIL: number;
998+
PRINTED_FACE_DETECTED: number;
999+
BLOCKED_REQUEST: number;
1000+
CORRUPTED_REQUEST: number;
9771001
};
9781002
ProcessingMode: {
9791003
ONLINE: number;

index.js

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)