@regulaforensics/face-sdk 8.2.919-rc → 8.2.923-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNFaceSDK.podspec +3 -3
- package/android/{CVDFaceSDK.kt → CDVFaceSDK.kt} +1 -1
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/facesdk/Config.kt +4 -0
- package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +12 -7
- package/android/src/main/java/com/regula/plugin/facesdk/Utils.kt +2 -3
- package/examples/capacitor/android/app/build.gradle +2 -2
- package/examples/capacitor/android/app/capacitor.build.gradle +2 -3
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
- package/examples/capacitor/android/build.gradle +3 -3
- package/examples/capacitor/android/capacitor.settings.gradle +2 -5
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/android/gradlew +4 -5
- package/examples/capacitor/android/gradlew.bat +2 -2
- package/examples/capacitor/android/variables.gradle +10 -10
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +20 -4
- package/examples/capacitor/ios/App/Podfile +5 -1
- package/examples/capacitor/ios/App/Podfile.lock +14 -14
- package/examples/capacitor/package-lock.json +817 -853
- package/examples/capacitor/package.json +17 -17
- package/examples/ionic/images/icon.png +0 -0
- package/examples/ionic/package-lock.json +8477 -8064
- package/examples/ionic/package.json +23 -14
- package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
- package/examples/ionic/scripts/ios.sh +1 -1
- package/examples/react_native/package-lock.json +1191 -1473
- package/examples/react_native/package.json +2 -2
- package/ios/CDVFaceSDK.swift +42 -0
- package/ios/Config.swift +245 -0
- package/ios/Decoder.swift +934 -0
- package/ios/Main.swift +191 -0
- package/ios/RNFaceSDK.m +7 -39
- package/ios/RNFaceSDK.swift +42 -0
- package/ios/Utils.swift +82 -0
- package/package.json +1 -1
- package/plugin.xml +10 -12
- package/test/json.tsx +16 -13
- package/test/package-lock.json +1 -1
- package/www/capacitor/customization/customization_images.js +47 -39
- package/www/capacitor/face_capture/face_capture_config.js +4 -0
- package/www/capacitor/liveness/liveness_config.js +4 -0
- package/www/cordova.js +55 -39
- package/www/react-native/customization/customization_images.js +47 -39
- package/www/react-native/face_capture/face_capture_config.js +4 -0
- package/www/react-native/liveness/liveness_config.js +4 -0
- package/www/types/customization/customization_images.d.ts +1 -0
- package/www/types/face_capture/face_capture_config.d.ts +6 -0
- package/www/types/liveness/liveness_config.d.ts +7 -0
- package/ios/CVDFaceSDK.h +0 -7
- package/ios/CVDFaceSDK.m +0 -43
- package/ios/RFSWConfig.h +0 -27
- package/ios/RFSWConfig.m +0 -199
- package/ios/RFSWJSONConstructor.h +0 -135
- package/ios/RFSWJSONConstructor.m +0 -985
- package/ios/RFSWMain.h +0 -24
- package/ios/RFSWMain.m +0 -381
- package/ios/RNFaceSDK.h +0 -8
|
@@ -3,30 +3,39 @@
|
|
|
3
3
|
"scripts": {
|
|
4
4
|
"setup": "scripts/setup.sh",
|
|
5
5
|
"ios": "scripts/ios.sh",
|
|
6
|
-
"android": "scripts/android.sh"
|
|
6
|
+
"android": "scripts/android.sh",
|
|
7
|
+
"postinstall": "patch-package"
|
|
7
8
|
},
|
|
8
9
|
"dependencies": {
|
|
9
|
-
"@angular-devkit/build-angular": "^21.
|
|
10
|
-
"@angular/cli": "^21.
|
|
11
|
-
"@angular/common": "^21.
|
|
12
|
-
"@angular/compiler-cli": "^21.
|
|
13
|
-
"@angular/core": "^21.
|
|
14
|
-
"@angular/forms": "^21.
|
|
15
|
-
"@angular/platform-browser-dynamic": "^21.
|
|
16
|
-
"@angular/router": "^21.
|
|
17
|
-
"@ionic/angular": "^8.7.
|
|
10
|
+
"@angular-devkit/build-angular": "^21.1.4",
|
|
11
|
+
"@angular/cli": "^21.1.4",
|
|
12
|
+
"@angular/common": "^21.1.5",
|
|
13
|
+
"@angular/compiler-cli": "^21.1.5",
|
|
14
|
+
"@angular/core": "^21.1.5",
|
|
15
|
+
"@angular/forms": "^21.1.5",
|
|
16
|
+
"@angular/platform-browser-dynamic": "^21.1.5",
|
|
17
|
+
"@angular/router": "^21.1.5",
|
|
18
|
+
"@ionic/angular": "^8.7.17",
|
|
18
19
|
"@ionic/cordova-builders": "^12.3.0",
|
|
19
20
|
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
20
21
|
"@awesome-cordova-plugins/dialogs": "^8.1.0",
|
|
21
22
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
22
|
-
"@regulaforensics/face-sdk": "8.2.
|
|
23
|
-
"@regulaforensics/face-core-basic": "8.
|
|
23
|
+
"@regulaforensics/face-sdk": "8.2.923-beta",
|
|
24
|
+
"@regulaforensics/face-core-basic": "8.1.422",
|
|
24
25
|
"cordova-android": "^14.0.1",
|
|
25
|
-
"cordova-ios": "^
|
|
26
|
+
"cordova-ios": "^8.0.0",
|
|
26
27
|
"cordova-plugin-camera": "^8.0.0",
|
|
27
28
|
"cordova-plugin-dialogs": "^2.0.2",
|
|
28
29
|
"cordova-plugin-file": "^8.1.3",
|
|
29
|
-
"cordova-plugin-ionic-webview": "^5.0.1"
|
|
30
|
+
"cordova-plugin-ionic-webview": "^5.0.1",
|
|
31
|
+
"patch-package": "^8.0.1"
|
|
32
|
+
},
|
|
33
|
+
"overrides": {
|
|
34
|
+
"ajv": "^8.18.0",
|
|
35
|
+
"serialize-javascript": "^7.0.4",
|
|
36
|
+
"@angular/compiler": "^21.2.4",
|
|
37
|
+
"undici": "^7.24.0",
|
|
38
|
+
"picomatch": "^4.0.4"
|
|
30
39
|
},
|
|
31
40
|
"cordova": {
|
|
32
41
|
"plugins": {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
diff --git a/node_modules/cordova-plugin-ionic-webview/src/ios/CDVWKWebViewEngine.m b/node_modules/cordova-plugin-ionic-webview/src/ios/CDVWKWebViewEngine.m
|
|
2
|
+
index 2acb99b..900a04c 100644
|
|
3
|
+
--- a/node_modules/cordova-plugin-ionic-webview/src/ios/CDVWKWebViewEngine.m
|
|
4
|
+
+++ b/node_modules/cordova-plugin-ionic-webview/src/ios/CDVWKWebViewEngine.m
|
|
5
|
+
@@ -731,6 +731,18 @@ - (BOOL)defaultResourcePolicyForURL:(NSURL*)url
|
|
6
|
+
return YES;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
+ // Allow internal local-server navigation even when no plugin overrides the request.
|
|
10
|
+
+ NSURL *localServerUrl = [NSURL URLWithString:self.CDV_LOCAL_SERVER];
|
|
11
|
+
+ if (localServerUrl != nil && url != nil) {
|
|
12
|
+
+ NSString *localScheme = localServerUrl.scheme.lowercaseString;
|
|
13
|
+
+ NSString *localHost = localServerUrl.host.lowercaseString;
|
|
14
|
+
+ NSString *urlScheme = url.scheme.lowercaseString;
|
|
15
|
+
+ NSString *urlHost = url.host.lowercaseString;
|
|
16
|
+
+ if ([localScheme isEqualToString:urlScheme] && [localHost isEqualToString:urlHost]) {
|
|
17
|
+
+ return YES;
|
|
18
|
+
+ }
|
|
19
|
+
+ }
|
|
20
|
+
+
|
|
21
|
+
return NO;
|
|
22
|
+
}
|
|
23
|
+
|