@regulaforensics/face-sdk 8.3.1396-nightly → 8.3.1407-rc

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 (81) hide show
  1. package/Package.swift +27 -0
  2. package/README.md +3 -0
  3. package/android/CDVFaceSDK.kt +4 -3
  4. package/android/build.gradle.kts +37 -0
  5. package/android/cordova.gradle.kts +17 -0
  6. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Config.kt +1 -3
  7. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Implementation.kt +2 -2
  8. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/JSONConstructor.kt +4 -4
  9. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/RNFaceApiModule.kt +1 -1
  10. package/android/src/main/kotlin/com/regula/plugin/{facesdk → face/sdk}/Utils.kt +2 -2
  11. package/app.plugin.js +10 -7
  12. package/examples/capacitor/README.md +2 -0
  13. package/examples/capacitor/android/app/build.gradle +1 -10
  14. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +9 -0
  15. package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +5 -0
  16. package/examples/capacitor/android/build.gradle +12 -3
  17. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  19. package/examples/capacitor/android/gradle.properties +4 -0
  20. package/examples/capacitor/android/gradlew +4 -7
  21. package/examples/capacitor/android/gradlew.bat +82 -94
  22. package/examples/capacitor/android/variables.gradle +13 -9
  23. package/examples/capacitor/capacitor.config.json +15 -0
  24. package/examples/capacitor/index.tsx +15 -23
  25. package/examples/capacitor/ios/App/App/AppDelegate.swift +5 -40
  26. package/examples/capacitor/ios/App/App/Info.plist +18 -2
  27. package/examples/capacitor/ios/App/App/SceneDelegate.swift +23 -0
  28. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +25 -85
  29. package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +1 -0
  30. package/examples/capacitor/package-lock.json +1075 -1935
  31. package/examples/capacitor/package.json +14 -19
  32. package/examples/capacitor/scripts/android.sh +5 -8
  33. package/examples/capacitor/scripts/ios.sh +5 -7
  34. package/examples/capacitor/scripts/setup.sh +2 -6
  35. package/examples/capacitor/src/main.css +5 -1
  36. package/examples/capacitor/vite.config.ts +0 -12
  37. package/examples/ionic/README.md +2 -0
  38. package/examples/ionic/config.xml +1 -1
  39. package/examples/ionic/index.tsx +8 -3
  40. package/examples/ionic/package-lock.json +6445 -12138
  41. package/examples/ionic/package.json +23 -27
  42. package/examples/ionic/scripts/android.sh +0 -2
  43. package/examples/ionic/scripts/ios.sh +0 -2
  44. package/examples/ionic/scripts/setup.sh +0 -2
  45. package/examples/ionic/tsconfig.json +0 -1
  46. package/examples/react_native/README.md +2 -0
  47. package/examples/react_native/app.config.ts +0 -1
  48. package/examples/react_native/package-lock.json +2108 -3737
  49. package/examples/react_native/package.json +19 -17
  50. package/examples/react_native/scripts/android.sh +8 -6
  51. package/examples/react_native/scripts/ios.sh +7 -5
  52. package/examples/react_native/scripts/setup.sh +7 -4
  53. package/ios/CDVFaceSDK.swift +6 -1
  54. package/ios/Config.swift +1 -3
  55. package/ios/Decoder.swift +1 -1
  56. package/ios/Implementation.swift +4 -4
  57. package/ios/RNFaceSDK.swift +2 -2
  58. package/package.json +1 -1
  59. package/plugin.xml +11 -11
  60. package/react-native-face-sdk.podspec +14 -0
  61. package/test/json.tsx +0 -20
  62. package/test/package-lock.json +5 -2
  63. package/test/test.tsx +0 -2
  64. package/www/capacitor/internal/cordova.js +2 -2
  65. package/www/capacitor/liveness/verification_config.js +2 -18
  66. package/www/cordova.js +4 -20
  67. package/www/react-native/liveness/verification_config.js +2 -18
  68. package/www/types/liveness/verification_config.d.ts +2 -27
  69. package/RNFaceSDK.podspec +0 -21
  70. package/android/build.gradle +0 -36
  71. package/android/cordova.gradle +0 -18
  72. package/examples/capacitor/android/app/capacitor.build.gradle +0 -21
  73. package/examples/capacitor/android/capacitor.settings.gradle +0 -12
  74. package/examples/capacitor/ionic.config.json +0 -7
  75. package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +0 -19
  76. package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -10
  77. package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  78. package/examples/capacitor/ios/App/Podfile +0 -31
  79. package/examples/capacitor/ios/App/Podfile.lock +0 -57
  80. package/examples/react_native/vendor/image-size-metro-compat/index.cjs +0 -16
  81. package/examples/react_native/vendor/image-size-metro-compat/package.json +0 -8
@@ -7,40 +7,36 @@
7
7
  "postinstall": "patch-package"
8
8
  },
9
9
  "dependencies": {
10
- "@angular-devkit/build-angular": "^22.0.5",
11
- "@angular/cli": "^22.0.5",
12
- "@angular/common": "^22.0.5",
13
- "@angular/compiler-cli": "^22.0.5",
14
- "@angular/core": "^22.0.5",
15
- "@angular/forms": "^22.0.5",
16
- "@angular/platform-browser-dynamic": "^22.0.5",
17
- "@angular/router": "^22.0.5",
18
- "@ionic/angular": "^8.8.13",
19
- "@ionic/cordova-builders": "^12.3.0",
20
- "@awesome-cordova-plugins/camera": "^9.2.0",
21
- "@awesome-cordova-plugins/dialogs": "^9.2.0",
22
- "@awesome-cordova-plugins/file": "^9.2.0",
23
- "@regulaforensics/face-sdk": "8.3.1396-nightly",
24
- "@regulaforensics/face-core-basic": "8.4.845-nightly",
25
- "cordova-android": "^15.0.0",
10
+ "@angular-devkit/build-angular": "^22.1.8",
11
+ "@angular/cli": "^22.1.8",
12
+ "@angular/common": "^22.1.7",
13
+ "@angular/compiler-cli": "^22.1.7",
14
+ "@angular/core": "^22.1.7",
15
+ "@angular/forms": "^22.1.7",
16
+ "@angular/platform-browser-dynamic": "^22.1.7",
17
+ "@angular/router": "^22.1.7",
18
+ "@ionic/angular": "^9.0.4",
19
+ "@ionic/cordova-builders": "^13.0.0",
20
+ "@awesome-cordova-plugins/camera": "^9.6.0",
21
+ "@awesome-cordova-plugins/dialogs": "^9.6.0",
22
+ "@awesome-cordova-plugins/file": "^9.6.0",
23
+ "@regulaforensics/face-sdk": "8.3.1407-rc",
24
+ "@regulaforensics/face-core-basic": "8.4.855-rc",
25
+ "cordova-android": "^15.1.0",
26
26
  "cordova-ios": "^8.1.1",
27
27
  "cordova-plugin-camera": "^8.0.0",
28
28
  "cordova-plugin-dialogs": "^2.0.2",
29
29
  "cordova-plugin-file": "^8.1.3",
30
30
  "cordova-plugin-ionic-webview": "^5.0.1",
31
- "patch-package": "^8.0.1"
31
+ "patch-package": "^8.0.1",
32
+ "@angular/compiler": "^22.1.7",
33
+ "@angular/platform-browser": "^22.1.7",
34
+ "zone.js": "~0.16.3",
35
+ "typescript": "~6.0.3"
32
36
  },
33
37
  "overrides": {
34
- "@babel/core": "^7.29.0",
35
- "ajv": "^8.18.0",
36
- "esbuild": "^0.28.1",
37
- "http-proxy-middleware": "^3.0.7",
38
- "picomatch": "^4.0.4",
39
- "serialize-javascript": "^7.0.4",
40
- "uuid": "^14.0.0",
41
- "postcss": "^8.5.22",
42
- "image-size": "npm:image-size-next@2.1.1",
43
- "webpack-dev-server": "^5.2.4"
38
+ "serialize-javascript": "^7.1.1",
39
+ "uuid": "^11.1.1"
44
40
  },
45
41
  "cordova": {
46
42
  "plugins": {
@@ -7,5 +7,3 @@ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
7
7
  else
8
8
  ionic cordova run android
9
9
  fi
10
-
11
- exit 0
@@ -7,5 +7,3 @@ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
7
7
  else
8
8
  ionic cordova run ios
9
9
  fi
10
-
11
- exit 0
@@ -6,5 +6,3 @@ ionic cordova prepare || {
6
6
  pod repo update
7
7
  ionic cordova prepare
8
8
  }
9
-
10
- exit 0
@@ -9,6 +9,5 @@
9
9
  "experimentalDecorators": true,
10
10
  "target": "es2022",
11
11
  "jsx": "react-jsx",
12
- "skipLibCheck": true, // Temp fix for https://github.com/ionic-team/ionic-framework/issues/30650
13
12
  }
14
13
  }
@@ -1,5 +1,7 @@
1
1
  # Regula Face SDK React Native demo application
2
2
 
3
+ Requires Node.js 22+, Xcode 26+, CocoaPods, Android Studio with JDK 17 and Android SDK 37.
4
+
3
5
  ## How to build demo application
4
6
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
5
7
 
@@ -16,7 +16,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
16
16
  },
17
17
  android: {
18
18
  package: 'com.regula.example.face.react',
19
- edgeToEdgeEnabled: true
20
19
  },
21
20
  plugins: [
22
21
  '@regulaforensics/face-sdk',