@regulaforensics/face-sdk 8.2.846-rc → 8.2.855-nightly

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.
Files changed (46) hide show
  1. package/RNFaceSDK.podspec +4 -4
  2. package/android/{CVDFaceSDK.kt → CDVFaceSDK.kt} +1 -1
  3. package/android/build.gradle +2 -2
  4. package/android/cordova.gradle +2 -2
  5. package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +12 -7
  6. package/examples/capacitor/android/app/build.gradle +2 -2
  7. package/examples/capacitor/android/app/capacitor.build.gradle +2 -3
  8. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
  9. package/examples/capacitor/android/build.gradle +3 -3
  10. package/examples/capacitor/android/capacitor.settings.gradle +2 -5
  11. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  12. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  13. package/examples/capacitor/android/gradlew +4 -5
  14. package/examples/capacitor/android/gradlew.bat +2 -2
  15. package/examples/capacitor/android/variables.gradle +10 -10
  16. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +20 -4
  17. package/examples/capacitor/ios/App/Podfile +5 -1
  18. package/examples/capacitor/ios/App/Podfile.lock +14 -14
  19. package/examples/capacitor/package-lock.json +811 -847
  20. package/examples/capacitor/package.json +17 -17
  21. package/examples/ionic/images/icon.png +0 -0
  22. package/examples/ionic/package-lock.json +2587 -2373
  23. package/examples/ionic/package.json +16 -14
  24. package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
  25. package/examples/ionic/scripts/ios.sh +1 -1
  26. package/examples/react_native/package-lock.json +1168 -1450
  27. package/examples/react_native/package.json +2 -2
  28. package/ios/CDVFaceSDK.swift +42 -0
  29. package/ios/Config.swift +242 -0
  30. package/ios/Decoder.swift +934 -0
  31. package/ios/Main.swift +191 -0
  32. package/ios/RNFaceSDK.m +7 -39
  33. package/ios/RNFaceSDK.swift +42 -0
  34. package/ios/Utils.swift +82 -0
  35. package/package.json +1 -1
  36. package/plugin.xml +11 -13
  37. package/test/package-lock.json +1 -1
  38. package/ios/CVDFaceSDK.h +0 -7
  39. package/ios/CVDFaceSDK.m +0 -43
  40. package/ios/RFSWConfig.h +0 -27
  41. package/ios/RFSWConfig.m +0 -199
  42. package/ios/RFSWJSONConstructor.h +0 -135
  43. package/ios/RFSWJSONConstructor.m +0 -985
  44. package/ios/RFSWMain.h +0 -24
  45. package/ios/RFSWMain.m +0 -381
  46. package/ios/RNFaceSDK.h +0 -8
@@ -3,30 +3,32 @@
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.0.5",
10
- "@angular/cli": "^21.0.5",
11
- "@angular/common": "^21.0.8",
12
- "@angular/compiler-cli": "^21.0.8",
13
- "@angular/core": "^21.0.8",
14
- "@angular/forms": "^21.0.8",
15
- "@angular/platform-browser-dynamic": "^21.0.8",
16
- "@angular/router": "^21.0.8",
17
- "@ionic/angular": "^8.7.16",
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.846-rc",
23
- "@regulaforensics/face-core-basic": "8.2.450-rc",
23
+ "@regulaforensics/face-sdk": "8.2.855-nightly",
24
+ "@regulaforensics/face-core-basic": "8.2.453-nightly",
24
25
  "cordova-android": "^14.0.1",
25
- "cordova-ios": "^7.1.1",
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"
30
32
  },
31
33
  "cordova": {
32
34
  "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
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  if [[ $npm_config_o || $npm_config_open ]]; then
4
4
  ionic cordova prepare ios
5
- open platforms/ios/Face.xcworkspace
5
+ open platforms/ios/App.xcworkspace
6
6
  else
7
7
  ionic cordova run ios
8
8
  fi