@regulaforensics/face-sdk 6.4.26-beta → 6.4.126-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 (44) hide show
  1. package/.gitlab/report.yaml +75 -0
  2. package/.gitlab-ci.yml +49 -0
  3. package/RNFaceSDK.podspec +3 -3
  4. package/android/build.gradle +2 -2
  5. package/android/cordova.gradle +2 -2
  6. package/examples/capacitor/README.md +4 -4
  7. package/examples/capacitor/android/build.gradle +2 -2
  8. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  9. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +2 -2
  10. package/examples/capacitor/ios/App/Podfile +1 -1
  11. package/examples/capacitor/package.json +13 -13
  12. package/examples/capacitor/scripts/android.sh +9 -0
  13. package/examples/capacitor/scripts/ios.sh +8 -0
  14. package/examples/capacitor/scripts/setup.sh +4 -0
  15. package/examples/cordova/README.md +4 -4
  16. package/examples/cordova/config.xml +2 -2
  17. package/examples/cordova/package.json +10 -16
  18. package/examples/cordova/scripts/android.sh +8 -0
  19. package/examples/cordova/scripts/ios.sh +8 -0
  20. package/examples/cordova/scripts/setup.sh +5 -0
  21. package/examples/cordova/www/js/index.js +13 -13
  22. package/examples/ionic/README.md +4 -4
  23. package/examples/ionic/config.xml +2 -2
  24. package/examples/ionic/package.json +16 -17
  25. package/examples/ionic/scripts/android.sh +8 -0
  26. package/examples/ionic/scripts/ios.sh +8 -0
  27. package/examples/ionic/scripts/setup.sh +5 -0
  28. package/examples/react-native/Gemfile +1 -0
  29. package/examples/react-native/Gemfile.lock +26 -23
  30. package/examples/react-native/README.md +4 -4
  31. package/examples/react-native/android/app/src/main/java/com/regula/face/api/MainApplication.kt +2 -1
  32. package/examples/react-native/android/build.gradle +3 -3
  33. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  34. package/examples/react-native/android/gradle/wrapper/gradle-wrapper.properties +2 -2
  35. package/examples/react-native/android/gradlew +4 -1
  36. package/examples/react-native/ios/Podfile.lock +319 -303
  37. package/examples/react-native/package-lock.json +6101 -6298
  38. package/examples/react-native/package.json +20 -18
  39. package/examples/react-native/scripts/android.sh +8 -0
  40. package/examples/react-native/scripts/ios.sh +8 -0
  41. package/examples/react-native/scripts/setup.sh +8 -0
  42. package/package.json +1 -1
  43. package/plugin.xml +4 -2
  44. package/www/types/index.d.ts +1 -0
@@ -3,38 +3,40 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "setup": "npm install && (cd ios && bundle install) && npm run pod-install",
7
- "pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod update",
8
- "android": "react-native run-android",
9
- "ios": "react-native run-ios",
6
+ "setup": "scripts/setup.sh",
7
+ "ios": "scripts/ios.sh",
8
+ "android": "scripts/android.sh",
10
9
  "lint": "eslint .",
11
10
  "start": "react-native start",
12
11
  "test": "jest"
13
12
  },
14
13
  "dependencies": {
15
- "@regulaforensics/face-sdk": "6.4.26-beta",
16
- "@regulaforensics/face-core-basic": "6.4.10-beta",
14
+ "@regulaforensics/face-sdk": "6.4.126-nightly",
15
+ "@regulaforensics/face-core-basic": "6.4.76-nightly",
17
16
  "react": "18.3.1",
18
- "react-native": "0.75.4",
17
+ "react-native": "0.76.6",
19
18
  "react-native-fs": "2.20.0",
20
- "react-native-image-picker": "7.1.2"
19
+ "react-native-image-picker": "7.2.3"
21
20
  },
22
21
  "devDependencies": {
23
- "@babel/core": "^7.20.0",
24
- "@babel/preset-env": "^7.20.0",
25
- "@babel/runtime": "^7.20.0",
26
- "@react-native/babel-preset": "0.75.4",
27
- "@react-native/eslint-config": "0.75.4",
28
- "@react-native/metro-config": "0.75.4",
29
- "@react-native/typescript-config": "0.75.4",
22
+ "@babel/core": "^7.26.0",
23
+ "@babel/preset-env": "^7.26.0",
24
+ "@babel/runtime": "^7.26.0",
25
+ "@react-native-community/cli": "15.1.3",
26
+ "@react-native-community/cli-platform-android": "15.1.3",
27
+ "@react-native-community/cli-platform-ios": "15.1.3",
28
+ "@react-native/babel-preset": "0.76.6",
29
+ "@react-native/eslint-config": "0.76.6",
30
+ "@react-native/metro-config": "0.76.6",
31
+ "@react-native/typescript-config": "0.76.6",
30
32
  "@types/react": "^18.2.6",
31
33
  "@types/react-test-renderer": "^18.0.0",
32
- "babel-jest": "^29.6.3",
34
+ "babel-jest": "^29.7.0",
33
35
  "eslint": "^8.19.0",
34
- "jest": "^29.6.3",
36
+ "jest": "^29.7.0",
35
37
  "prettier": "2.8.8",
36
38
  "react-test-renderer": "18.3.1",
37
- "typescript": "5.0.4"
39
+ "typescript": "5.7.3"
38
40
  },
39
41
  "engines": {
40
42
  "node": ">=18"
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ if [[ $npm_config_o || $npm_config_open ]]; then
5
+ studio android || open -a 'Android Studio' android
6
+ else
7
+ react-native run-android
8
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ if [[ $npm_config_o || $npm_config_open ]]; then
5
+ open ios/FaceSDK.xcworkspace
6
+ else
7
+ react-native run-ios
8
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ npm install
5
+ cd ios
6
+ bundle install
7
+ RCT_NEW_ARCH_ENABLED=1 bundle exec pod install ||
8
+ RCT_NEW_ARCH_ENABLED=1 bundle exec pod update
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "6.4.26-beta",
3
+ "version": "6.4.126-nightly",
4
4
  "description": "This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/face-sdk" version="6.4.26-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="6.4.126-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>FaceSDK</name>
4
4
  <description>Cordova plugin for Regula Face SDK</description>
5
5
  <license>commercial</license>
@@ -14,6 +14,7 @@
14
14
  <feature name="FaceSDK">
15
15
  <param name="ios-package" value="CVDFaceSDK" />
16
16
  </feature>
17
+ <preference name="deployment-target" value="12.0" />
17
18
  </config-file>
18
19
  <header-file src="ios/CVDFaceSDK.h" />
19
20
  <source-file src="ios/CVDFaceSDK.m" />
@@ -25,9 +26,10 @@
25
26
  <source-file src="ios/RFSWConfig.m" />
26
27
  <podspec>
27
28
  <config>
29
+ <source url="https://cdn.cocoapods.org/" />
28
30
  </config>
29
31
  <pods>
30
- <pod name="FaceSDK" spec="6.3.2181" />
32
+ <pod name="FaceSDKNightly" spec="6.4.2460" />
31
33
  </pods>
32
34
  </podspec>
33
35
  </platform>
@@ -87,6 +87,7 @@ export class FaceSDK {
87
87
  * The only instance of singleton class {@link FaceSDK}.
88
88
  */
89
89
  static get instance(): FaceSDK
90
+ private constructor()
90
91
 
91
92
  /**
92
93
  * Information about the SDK.