@regulaforensics/face-sdk 7.2.429-beta → 7.2.433-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 (173) hide show
  1. package/README.md +3 -2
  2. package/RNFaceSDK.podspec +2 -2
  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 +0 -2
  6. package/android/src/main/java/com/regula/plugin/facesdk/Main.kt +0 -18
  7. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +2 -2
  8. package/examples/capacitor/index.html +7 -2
  9. package/examples/capacitor/package-lock.json +162 -12
  10. package/examples/capacitor/package.json +4 -4
  11. package/examples/capacitor/scripts/setup.sh +2 -4
  12. package/examples/capacitor/src/main.css +6 -60
  13. package/examples/capacitor/src/main.html +1 -1
  14. package/examples/capacitor/src/main.tsx +87 -51
  15. package/examples/cordova/.vscode/launch.json +28 -0
  16. package/examples/cordova/README.md +25 -0
  17. package/examples/cordova/config.xml +26 -0
  18. package/examples/cordova/package-lock.json +1327 -0
  19. package/examples/cordova/package.json +30 -0
  20. package/examples/cordova/scripts/android.sh +8 -0
  21. package/examples/cordova/scripts/ios.sh +8 -0
  22. package/examples/cordova/scripts/setup.sh +8 -0
  23. package/examples/cordova/www/images/logo.png +0 -0
  24. package/examples/cordova/www/index.html +21 -0
  25. package/examples/cordova/www/src/main.css +83 -0
  26. package/examples/cordova/www/src/main.html +25 -0
  27. package/examples/cordova/www/src/main.js +152 -0
  28. package/examples/ionic/README.md +1 -1
  29. package/examples/ionic/angular.json +3 -3
  30. package/examples/ionic/config.xml +2 -4
  31. package/examples/ionic/index.ts +17 -0
  32. package/examples/ionic/package-lock.json +68 -42
  33. package/examples/ionic/package.json +2 -2
  34. package/examples/ionic/src/images/portrait.png +0 -0
  35. package/examples/ionic/src/main.css +6 -60
  36. package/examples/ionic/src/main.html +1 -1
  37. package/examples/ionic/src/{main.tsx → main.ts} +97 -52
  38. package/examples/ionic/tsconfig.json +2 -3
  39. package/examples/react_native/README.md +0 -1
  40. package/examples/react_native/app.config.ts +1 -1
  41. package/examples/react_native/index.tsx +7 -49
  42. package/examples/react_native/package-lock.json +597 -594
  43. package/examples/react_native/package.json +9 -9
  44. package/examples/react_native/src/main.css +6 -60
  45. package/examples/react_native/src/main.html +1 -1
  46. package/examples/react_native/src/main.tsx +77 -54
  47. package/ios/RFSWJSONConstructor.h +1 -0
  48. package/ios/RFSWJSONConstructor.m +14 -5
  49. package/ios/RFSWMain.m +0 -30
  50. package/package.json +1 -1
  51. package/plugin.xml +2 -2
  52. package/www/capacitor/customization/customization_fonts.js +1 -1
  53. package/www/capacitor/customization/customization_images.js +1 -1
  54. package/www/capacitor/customization/font.js +0 -8
  55. package/www/capacitor/detect_faces/detect_face_result.js +0 -12
  56. package/www/capacitor/detect_faces/detect_faces_attribute_result.js +0 -9
  57. package/www/capacitor/detect_faces/detect_faces_backend_exception.js +0 -7
  58. package/www/capacitor/detect_faces/detect_faces_config.js +0 -34
  59. package/www/capacitor/detect_faces/detect_faces_exception.js +0 -8
  60. package/www/capacitor/detect_faces/detect_faces_request.js +0 -22
  61. package/www/capacitor/detect_faces/detect_faces_response.js +0 -9
  62. package/www/capacitor/face_capture/face_capture_config.js +0 -37
  63. package/www/capacitor/face_capture/face_capture_exception.js +0 -7
  64. package/www/capacitor/face_capture/face_capture_image.js +0 -8
  65. package/www/capacitor/face_capture/face_capture_response.js +0 -7
  66. package/www/capacitor/image_params/output_image_crop.js +0 -23
  67. package/www/capacitor/image_params/output_image_params.js +0 -19
  68. package/www/capacitor/image_params/point.js +0 -7
  69. package/www/capacitor/image_params/rect.js +0 -9
  70. package/www/capacitor/image_params/size.js +0 -12
  71. package/www/capacitor/image_quality/image_quality_characteristic.js +0 -22
  72. package/www/capacitor/image_quality/image_quality_range.js +0 -7
  73. package/www/capacitor/image_quality/image_quality_result.js +0 -10
  74. package/www/capacitor/index.js +0 -48
  75. package/www/capacitor/init/face_sdk_version.js +0 -8
  76. package/www/capacitor/init/init_config.js +0 -19
  77. package/www/capacitor/init/init_exception.js +0 -8
  78. package/www/capacitor/init/license_exception.js +0 -7
  79. package/www/capacitor/internal/bridge.js +1 -20
  80. package/www/capacitor/liveness/liveness_backend_exception.js +0 -7
  81. package/www/capacitor/liveness/liveness_config.js +0 -43
  82. package/www/capacitor/liveness/liveness_exception.js +0 -8
  83. package/www/capacitor/liveness/liveness_notification.js +0 -7
  84. package/www/capacitor/liveness/liveness_response.js +0 -11
  85. package/www/capacitor/match_faces/compared_face.js +0 -9
  86. package/www/capacitor/match_faces/compared_faces_pair.js +0 -10
  87. package/www/capacitor/match_faces/compared_faces_split.js +0 -7
  88. package/www/capacitor/match_faces/match_faces_backend_exception.js +0 -7
  89. package/www/capacitor/match_faces/match_faces_config.js +0 -19
  90. package/www/capacitor/match_faces/match_faces_detection.js +0 -9
  91. package/www/capacitor/match_faces/match_faces_detection_face.js +0 -11
  92. package/www/capacitor/match_faces/match_faces_exception.js +0 -8
  93. package/www/capacitor/match_faces/match_faces_image.js +0 -9
  94. package/www/capacitor/match_faces/match_faces_request.js +0 -27
  95. package/www/capacitor/match_faces/match_faces_response.js +0 -9
  96. package/www/capacitor/person_database/edit_group_persons_request.js +0 -15
  97. package/www/capacitor/person_database/image_upload.js +0 -17
  98. package/www/capacitor/person_database/pageable_item_list.js +0 -8
  99. package/www/capacitor/person_database/person.js +0 -13
  100. package/www/capacitor/person_database/person_group.js +0 -11
  101. package/www/capacitor/person_database/person_image.js +0 -13
  102. package/www/capacitor/person_database/search_person.js +0 -14
  103. package/www/capacitor/person_database/search_person_detection.js +0 -9
  104. package/www/capacitor/person_database/search_person_image.js +0 -15
  105. package/www/capacitor/person_database/search_person_request.js +0 -29
  106. package/www/cordova.js +6 -753
  107. package/www/react-native/customization/customization_fonts.js +1 -1
  108. package/www/react-native/customization/customization_images.js +1 -1
  109. package/www/react-native/customization/font.js +0 -8
  110. package/www/react-native/detect_faces/detect_face_result.js +0 -12
  111. package/www/react-native/detect_faces/detect_faces_attribute_result.js +0 -9
  112. package/www/react-native/detect_faces/detect_faces_backend_exception.js +0 -7
  113. package/www/react-native/detect_faces/detect_faces_config.js +0 -34
  114. package/www/react-native/detect_faces/detect_faces_exception.js +0 -8
  115. package/www/react-native/detect_faces/detect_faces_request.js +0 -22
  116. package/www/react-native/detect_faces/detect_faces_response.js +0 -9
  117. package/www/react-native/face_capture/face_capture_config.js +0 -37
  118. package/www/react-native/face_capture/face_capture_exception.js +0 -7
  119. package/www/react-native/face_capture/face_capture_image.js +0 -8
  120. package/www/react-native/face_capture/face_capture_response.js +0 -7
  121. package/www/react-native/image_params/output_image_crop.js +0 -23
  122. package/www/react-native/image_params/output_image_params.js +0 -19
  123. package/www/react-native/image_params/point.js +0 -7
  124. package/www/react-native/image_params/rect.js +0 -9
  125. package/www/react-native/image_params/size.js +0 -12
  126. package/www/react-native/image_quality/image_quality_characteristic.js +0 -22
  127. package/www/react-native/image_quality/image_quality_range.js +0 -7
  128. package/www/react-native/image_quality/image_quality_result.js +0 -10
  129. package/www/react-native/index.js +0 -48
  130. package/www/react-native/init/face_sdk_version.js +0 -8
  131. package/www/react-native/init/init_config.js +0 -19
  132. package/www/react-native/init/init_exception.js +0 -8
  133. package/www/react-native/init/license_exception.js +0 -7
  134. package/www/react-native/internal/bridge.js +1 -20
  135. package/www/react-native/liveness/liveness_backend_exception.js +0 -7
  136. package/www/react-native/liveness/liveness_config.js +0 -43
  137. package/www/react-native/liveness/liveness_exception.js +0 -8
  138. package/www/react-native/liveness/liveness_notification.js +0 -7
  139. package/www/react-native/liveness/liveness_response.js +0 -11
  140. package/www/react-native/match_faces/compared_face.js +0 -9
  141. package/www/react-native/match_faces/compared_faces_pair.js +0 -10
  142. package/www/react-native/match_faces/compared_faces_split.js +0 -7
  143. package/www/react-native/match_faces/match_faces_backend_exception.js +0 -7
  144. package/www/react-native/match_faces/match_faces_config.js +0 -19
  145. package/www/react-native/match_faces/match_faces_detection.js +0 -9
  146. package/www/react-native/match_faces/match_faces_detection_face.js +0 -11
  147. package/www/react-native/match_faces/match_faces_exception.js +0 -8
  148. package/www/react-native/match_faces/match_faces_image.js +0 -9
  149. package/www/react-native/match_faces/match_faces_request.js +0 -27
  150. package/www/react-native/match_faces/match_faces_response.js +0 -9
  151. package/www/react-native/person_database/edit_group_persons_request.js +0 -15
  152. package/www/react-native/person_database/image_upload.js +0 -17
  153. package/www/react-native/person_database/pageable_item_list.js +0 -8
  154. package/www/react-native/person_database/person.js +0 -13
  155. package/www/react-native/person_database/person_group.js +0 -11
  156. package/www/react-native/person_database/person_image.js +0 -13
  157. package/www/react-native/person_database/search_person.js +0 -14
  158. package/www/react-native/person_database/search_person_detection.js +0 -9
  159. package/www/react-native/person_database/search_person_image.js +0 -15
  160. package/www/react-native/person_database/search_person_request.js +0 -29
  161. package/www/types/index.d.ts +0 -12
  162. package/www/types/match_faces/match_faces_config.d.ts +0 -2
  163. package/www/types/person_database/search_person_request.d.ts +0 -4
  164. package/examples/capacitor/index.tsx +0 -53
  165. package/examples/ionic/index.tsx +0 -68
  166. package/test/json.tsx +0 -375
  167. package/test/package-lock.json +0 -584
  168. package/test/package.json +0 -9
  169. package/test/test.tsx +0 -61
  170. package/test/utils.tsx +0 -38
  171. /package/examples/{ionic → cordova/www}/images/portrait.png +0 -0
  172. /package/examples/ionic/{assets → src/assets}/.gitkeep +0 -0
  173. /package/examples/ionic/{images → src/images}/icon.png +0 -0
package/README.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # Regula Face SDK plugin
2
2
  Face SDK is a framework that is used for face matching, recognition and liveness detection.
3
- This plugin makes possible to use it with react-native, cordova and capacitor applications.
3
+ This plugin makes possible to use it with react-native, cordova and ionic applications.
4
4
 
5
5
  ## Demo applications
6
- In the [examples](examples/) folder you can find 3 demo applications:
6
+ In the [examples](examples/) folder you can find 4 demo applications:
7
7
  * [React-native](examples/react_native)
8
+ * [Cordova](examples/cordova)
8
9
  * [Ionic(ionic app with cordova, angular)](examples/ionic)
9
10
  * [Capacitor(ionic app with capacitor, react)](examples/capacitor)
10
11
 
package/RNFaceSDK.podspec CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNFaceSDK'
8
- s.version = '7.2.429-beta'
8
+ s.version = '7.2.433-rc'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
16
16
  s.ios.deployment_target = '13.0'
17
17
  s.source_files = 'ios/**/*.{h,m}'
18
18
  s.exclude_files = [ 'ios/CVDFaceSDK.h', 'ios/CVDFaceSDK.m' ]
19
- s.dependency 'FaceSDK', '7.1.2940'
19
+ s.dependency 'FaceSDKStage', '7.2.3038'
20
20
  s.dependency 'React'
21
21
  end
@@ -32,7 +32,7 @@ android {
32
32
  rootProject.allprojects {
33
33
  repositories {
34
34
  maven {
35
- url "https://maven.regulaforensics.com/RegulaDocumentReader"
35
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
36
36
  }
37
37
  }
38
38
  }
@@ -41,7 +41,7 @@ dependencies {
41
41
  //noinspection GradleDynamicVersion
42
42
  implementation 'com.facebook.react:react-native:+'
43
43
  //noinspection GradleDependency
44
- implementation('com.regula.face:api:7.1.3897'){
44
+ implementation('com.regula.face:api:7.2.3966'){
45
45
  transitive = true
46
46
  }
47
47
  }
@@ -6,13 +6,13 @@ android {
6
6
 
7
7
  repositories {
8
8
  maven {
9
- url "https://maven.regulaforensics.com/RegulaDocumentReader"
9
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
10
10
  }
11
11
  }
12
12
 
13
13
  dependencies {
14
14
  //noinspection GradleDependency
15
- implementation('com.regula.face:api:7.1.3897'){
15
+ implementation('com.regula.face:api:7.2.3966'){
16
16
  transitive = true
17
17
  }
18
18
  }
@@ -833,7 +833,6 @@ fun searchPersonRequestFromJSON(it: JSONObject) = object : SearchPersonRequest()
833
833
  groupIdsForSearch = it.getJSONArrayOrNull("groupIdsForSearch").toArray()
834
834
  threshold = it.getDoubleOrNull("threshold")?.toFloat()
835
835
  limit = it.getIntOrNull("limit")
836
- tag = it.getStringOrNull("tag")
837
836
  imageUpload = imageUploadFromJSON(it.getJSONObjectOrNull("imageUpload"))
838
837
  isDetectAll = it.optBoolean("detectAll", false)
839
838
  outputImageParams = outputImageParamsFromJSON(it.getJSONObjectOrNull("outputImageParams"))
@@ -844,7 +843,6 @@ fun generateSearchPersonRequest(it: SearchPersonRequest) = mapOf(
844
843
  "groupIdsForSearch" to it.groupIdsForSearch.toJson(),
845
844
  "threshold" to it.threshold,
846
845
  "limit" to it.limit,
847
- "tag" to it.tag,
848
846
  "imageUpload" to generateImageUpload(it.imageUpload),
849
847
  "detectAll" to it.isDetectAll,
850
848
  "outputImageParams" to generateOutputImageParams(it.outputImageParams)
@@ -30,12 +30,6 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
30
30
  "getVersion" -> getVersion(callback)
31
31
  "getServiceUrl" -> getServiceUrl(callback)
32
32
  "setServiceUrl" -> setServiceUrl(argsNullable(0))
33
- "getTenant" -> getTenant(callback)
34
- "setTenant" -> setTenant(argsNullable(0))
35
- "getEnv" -> getEnv(callback)
36
- "setEnv" -> setEnv(argsNullable(0))
37
- "getLocale" -> getLocale(callback)
38
- "setLocale" -> setLocale(argsNullable(0))
39
33
  "setLocalizationDictionary" -> setLocalizationDictionary(args(0))
40
34
  "setRequestHeaders" -> setRequestHeaders(args(0))
41
35
  "setCustomization" -> setCustomization(args(0))
@@ -87,18 +81,6 @@ fun getServiceUrl(callback: Callback) = callback(Instance().serviceUrl)
87
81
 
88
82
  fun setServiceUrl(url: String?) = url.let { Instance().serviceUrl = it }
89
83
 
90
- fun getTenant(callback: Callback) = callback(Instance().tenant)
91
-
92
- fun setTenant(tag: String?) = tag.let { Instance().tenant = it }
93
-
94
- fun getEnv(callback: Callback) = callback(Instance().env)
95
-
96
- fun setEnv(tag: String?) = tag.let { Instance().env = it }
97
-
98
- fun getLocale(callback: Callback) = callback(Instance().locale)
99
-
100
- fun setLocale(locale: String?) = locale.let { Instance().locale = it }
101
-
102
84
  fun setLocalizationDictionary(dictionary: JSONObject) {
103
85
  localizationCallbacks = LocalizationCallbacks { if (dictionary.has(it)) dictionary.getString(it) else null }
104
86
  Instance().setLocalizationCallback(localizationCallbacks!!)
@@ -18,8 +18,8 @@
18
18
  <action android:name="android.intent.action.MAIN" />
19
19
  <category android:name="android.intent.category.LAUNCHER" />
20
20
  </intent-filter>
21
+
21
22
  </activity>
22
23
  </application>
23
-
24
24
  <uses-permission android:name="android.permission.INTERNET" />
25
- </manifest>
25
+ </manifest>
@@ -1,5 +1,10 @@
1
1
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
2
+ <script type="module" src="/src/main.tsx"></script>
3
+
2
4
  <div id="content" style="height: 100%"></div>
3
5
 
4
- <script type="module" src="./index.tsx"></script>
5
- <script type="module" src="/src/main.tsx"></script>
6
+ <script>
7
+ fetch("main.html")
8
+ .then(response => response.text())
9
+ .then(html => document.getElementById("content").innerHTML = html)
10
+ </script>
@@ -22,7 +22,7 @@
22
22
  "@vitejs/plugin-react": "4.3.4",
23
23
  "cordova-plugin-camera": "8.0.0",
24
24
  "cordova-plugin-file": "8.1.3",
25
- "vite-plugin-static-copy": "3.1.2"
25
+ "vite-plugin-static-copy": "2.3.1"
26
26
  }
27
27
  },
28
28
  "node_modules/@ampproject/remapping": {
@@ -1169,6 +1169,41 @@
1169
1169
  "@jridgewell/sourcemap-codec": "^1.4.14"
1170
1170
  }
1171
1171
  },
1172
+ "node_modules/@nodelib/fs.scandir": {
1173
+ "version": "2.1.5",
1174
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
1175
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
1176
+ "license": "MIT",
1177
+ "dependencies": {
1178
+ "@nodelib/fs.stat": "2.0.5",
1179
+ "run-parallel": "^1.1.9"
1180
+ },
1181
+ "engines": {
1182
+ "node": ">= 8"
1183
+ }
1184
+ },
1185
+ "node_modules/@nodelib/fs.stat": {
1186
+ "version": "2.0.5",
1187
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
1188
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
1189
+ "license": "MIT",
1190
+ "engines": {
1191
+ "node": ">= 8"
1192
+ }
1193
+ },
1194
+ "node_modules/@nodelib/fs.walk": {
1195
+ "version": "1.2.8",
1196
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
1197
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
1198
+ "license": "MIT",
1199
+ "dependencies": {
1200
+ "@nodelib/fs.scandir": "2.1.5",
1201
+ "fastq": "^1.6.0"
1202
+ },
1203
+ "engines": {
1204
+ "node": ">= 8"
1205
+ }
1206
+ },
1172
1207
  "node_modules/@regulaforensics/face-core-basic": {
1173
1208
  "version": "7.1.178",
1174
1209
  "resolved": "https://registry.npmjs.org/@regulaforensics/face-core-basic/-/face-core-basic-7.1.178.tgz",
@@ -2092,6 +2127,31 @@
2092
2127
  "node": ">=6"
2093
2128
  }
2094
2129
  },
2130
+ "node_modules/fast-glob": {
2131
+ "version": "3.3.3",
2132
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
2133
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
2134
+ "license": "MIT",
2135
+ "dependencies": {
2136
+ "@nodelib/fs.stat": "^2.0.2",
2137
+ "@nodelib/fs.walk": "^1.2.3",
2138
+ "glob-parent": "^5.1.2",
2139
+ "merge2": "^1.3.0",
2140
+ "micromatch": "^4.0.8"
2141
+ },
2142
+ "engines": {
2143
+ "node": ">=8.6.0"
2144
+ }
2145
+ },
2146
+ "node_modules/fastq": {
2147
+ "version": "1.19.1",
2148
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
2149
+ "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
2150
+ "license": "ISC",
2151
+ "dependencies": {
2152
+ "reusify": "^1.0.4"
2153
+ }
2154
+ },
2095
2155
  "node_modules/fd-slicer": {
2096
2156
  "version": "1.1.0",
2097
2157
  "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
@@ -2106,6 +2166,7 @@
2106
2166
  "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
2107
2167
  "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==",
2108
2168
  "license": "MIT",
2169
+ "peer": true,
2109
2170
  "peerDependencies": {
2110
2171
  "picomatch": "^3 || ^4"
2111
2172
  },
@@ -2455,6 +2516,40 @@
2455
2516
  "yallist": "^3.0.2"
2456
2517
  }
2457
2518
  },
2519
+ "node_modules/merge2": {
2520
+ "version": "1.4.1",
2521
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
2522
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
2523
+ "license": "MIT",
2524
+ "engines": {
2525
+ "node": ">= 8"
2526
+ }
2527
+ },
2528
+ "node_modules/micromatch": {
2529
+ "version": "4.0.8",
2530
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2531
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2532
+ "license": "MIT",
2533
+ "dependencies": {
2534
+ "braces": "^3.0.3",
2535
+ "picomatch": "^2.3.1"
2536
+ },
2537
+ "engines": {
2538
+ "node": ">=8.6"
2539
+ }
2540
+ },
2541
+ "node_modules/micromatch/node_modules/picomatch": {
2542
+ "version": "2.3.1",
2543
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2544
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2545
+ "license": "MIT",
2546
+ "engines": {
2547
+ "node": ">=8.6"
2548
+ },
2549
+ "funding": {
2550
+ "url": "https://github.com/sponsors/jonschlinkert"
2551
+ }
2552
+ },
2458
2553
  "node_modules/minimatch": {
2459
2554
  "version": "10.0.1",
2460
2555
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
@@ -2673,6 +2768,7 @@
2673
2768
  "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
2674
2769
  "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
2675
2770
  "license": "MIT",
2771
+ "peer": true,
2676
2772
  "engines": {
2677
2773
  "node": ">=12"
2678
2774
  },
@@ -2745,6 +2841,26 @@
2745
2841
  "node": ">=6"
2746
2842
  }
2747
2843
  },
2844
+ "node_modules/queue-microtask": {
2845
+ "version": "1.2.3",
2846
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2847
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2848
+ "funding": [
2849
+ {
2850
+ "type": "github",
2851
+ "url": "https://github.com/sponsors/feross"
2852
+ },
2853
+ {
2854
+ "type": "patreon",
2855
+ "url": "https://www.patreon.com/feross"
2856
+ },
2857
+ {
2858
+ "type": "consulting",
2859
+ "url": "https://feross.org/support"
2860
+ }
2861
+ ],
2862
+ "license": "MIT"
2863
+ },
2748
2864
  "node_modules/react": {
2749
2865
  "version": "19.1.0",
2750
2866
  "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
@@ -2815,6 +2931,16 @@
2815
2931
  "url": "https://github.com/sponsors/jonschlinkert"
2816
2932
  }
2817
2933
  },
2934
+ "node_modules/reusify": {
2935
+ "version": "1.1.0",
2936
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
2937
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
2938
+ "license": "MIT",
2939
+ "engines": {
2940
+ "iojs": ">=1.0.0",
2941
+ "node": ">=0.10.0"
2942
+ }
2943
+ },
2818
2944
  "node_modules/rimraf": {
2819
2945
  "version": "6.0.1",
2820
2946
  "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz",
@@ -2874,6 +3000,29 @@
2874
3000
  "fsevents": "~2.3.2"
2875
3001
  }
2876
3002
  },
3003
+ "node_modules/run-parallel": {
3004
+ "version": "1.2.0",
3005
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
3006
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
3007
+ "funding": [
3008
+ {
3009
+ "type": "github",
3010
+ "url": "https://github.com/sponsors/feross"
3011
+ },
3012
+ {
3013
+ "type": "patreon",
3014
+ "url": "https://www.patreon.com/feross"
3015
+ },
3016
+ {
3017
+ "type": "consulting",
3018
+ "url": "https://feross.org/support"
3019
+ }
3020
+ ],
3021
+ "license": "MIT",
3022
+ "dependencies": {
3023
+ "queue-microtask": "^1.2.2"
3024
+ }
3025
+ },
2877
3026
  "node_modules/rxjs": {
2878
3027
  "version": "7.8.2",
2879
3028
  "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
@@ -3103,10 +3252,11 @@
3103
3252
  }
3104
3253
  },
3105
3254
  "node_modules/tinyglobby": {
3106
- "version": "0.2.14",
3107
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
3108
- "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
3255
+ "version": "0.2.13",
3256
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz",
3257
+ "integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==",
3109
3258
  "license": "MIT",
3259
+ "peer": true,
3110
3260
  "dependencies": {
3111
3261
  "fdir": "^6.4.4",
3112
3262
  "picomatch": "^4.0.2"
@@ -3281,22 +3431,22 @@
3281
3431
  }
3282
3432
  },
3283
3433
  "node_modules/vite-plugin-static-copy": {
3284
- "version": "3.1.2",
3285
- "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-3.1.2.tgz",
3286
- "integrity": "sha512-aVmYOzptLVOI2b1jL+cmkF7O6uhRv1u5fvOkQgbohWZp2CbR22kn9ZqkCUIt9umKF7UhdbsEpshn1rf4720QFg==",
3434
+ "version": "2.3.1",
3435
+ "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-2.3.1.tgz",
3436
+ "integrity": "sha512-EfsPcBm3ewg3UMG8RJaC0ADq6/qnUZnokXx4By4+2cAcipjT9i0Y0owIJGqmZI7d6nxk4qB1q5aXOwNuSyPdyA==",
3287
3437
  "license": "MIT",
3288
3438
  "dependencies": {
3289
- "chokidar": "^3.6.0",
3290
- "fs-extra": "^11.3.0",
3439
+ "chokidar": "^3.5.3",
3440
+ "fast-glob": "^3.2.11",
3441
+ "fs-extra": "^11.1.0",
3291
3442
  "p-map": "^7.0.3",
3292
- "picocolors": "^1.1.1",
3293
- "tinyglobby": "^0.2.14"
3443
+ "picocolors": "^1.0.0"
3294
3444
  },
3295
3445
  "engines": {
3296
3446
  "node": "^18.0.0 || >=20.0.0"
3297
3447
  },
3298
3448
  "peerDependencies": {
3299
- "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
3449
+ "vite": "^5.0.0 || ^6.0.0"
3300
3450
  }
3301
3451
  },
3302
3452
  "node_modules/which": {
@@ -6,22 +6,22 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/face-sdk": "7.2.429-beta",
10
- "@regulaforensics/face-core-basic": "7.1.202",
9
+ "@regulaforensics/face-sdk": "7.2.433-rc",
10
+ "@regulaforensics/face-core-basic": "7.2.250-rc",
11
11
  "@awesome-cordova-plugins/file": "6.6.0",
12
12
  "@awesome-cordova-plugins/camera": "6.6.0",
13
13
  "cordova-plugin-file": "8.1.3",
14
14
  "cordova-plugin-camera": "8.0.0",
15
+ "@capacitor/dialog": "7.0.1",
15
16
  "@capacitor/cli": "7.0.1",
16
17
  "@capacitor/core": "7.0.1",
17
18
  "@capacitor/app": "7.0.0",
18
19
  "@capacitor/ios": "7.0.1",
19
20
  "@capacitor/android": "7.0.1",
20
21
  "@capacitor/status-bar": "7.0.0",
21
- "@capacitor/dialog": "7.0.1",
22
22
  "@ionic/react": "8.4.3",
23
23
  "@vitejs/plugin-react": "4.3.4",
24
- "vite-plugin-static-copy": "3.1.2",
24
+ "vite-plugin-static-copy": "2.3.1",
25
25
  "@types/react-router-dom": "5.3.3"
26
26
  }
27
27
  }
@@ -2,7 +2,5 @@
2
2
  set -e
3
3
 
4
4
  npm install
5
- ionic cap sync ios || {
6
- cd ios/App
7
- pod update
8
- }
5
+ cd ios/App
6
+ pod install || pod update
@@ -1,19 +1,15 @@
1
1
  html,
2
2
  body {
3
- margin: 0;
4
- width: 100%;
3
+ width: 99%;
5
4
  height: 99vh;
6
5
  display: flex;
7
- overflow: hidden;
8
6
  flex-direction: column;
9
7
  }
10
8
 
11
- /* Prevent text selection */
12
- * {
13
- user-select: none !important;
14
- -webkit-user-select: none !important;
15
- -webkit-user-drag: none !important;
16
- -webkit-touch-callout: none !important;
9
+ .page {
10
+ height: 100%;
11
+ display: flex;
12
+ flex-direction: column;
17
13
  }
18
14
 
19
15
  .column {
@@ -56,14 +52,10 @@ body {
56
52
  margin-top: 13px;
57
53
  }
58
54
 
59
- .scroll {
60
- flex-grow: 1;
61
- overflow-y: auto;
62
- }
63
-
64
55
  .no-scroll {
65
56
  flex-grow: 1;
66
57
  overflow-y: hidden;
58
+ overflow-x: hidden;
67
59
  }
68
60
 
69
61
  .button {
@@ -75,7 +67,6 @@ body {
75
67
  color: white;
76
68
  border: none;
77
69
  padding: 10px 20px;
78
- justify-content: center;
79
70
  font-size: 16px;
80
71
  border-radius: 100px;
81
72
  cursor: pointer;
@@ -89,49 +80,4 @@ body {
89
80
  .button:active {
90
81
  position: relative;
91
82
  top: 1px;
92
- }
93
-
94
- .text-button {
95
- background: none;
96
- border: none;
97
- color: #2196f3;
98
- font-size: 20px;
99
- font-weight: bold;
100
- padding: 5px;
101
- }
102
-
103
- .text-button:active {
104
- position: relative;
105
- top: 1px;
106
- }
107
-
108
- .radio {
109
- align-items: baseline;
110
- padding: 15px;
111
- }
112
-
113
- input[type="checkbox"] {
114
- width: 20px;
115
- height: 20px;
116
- border: 2px solid black;
117
- background-color: white;
118
- display: inline-block;
119
- position: relative;
120
- cursor: pointer;
121
- }
122
-
123
- .progress-bar {
124
- width: 75%;
125
- padding: 3px;
126
- margin-top: 40px;
127
- background-color: #eee;
128
- border-radius: 8px;
129
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
130
- }
131
-
132
- #progress {
133
- width: 0%;
134
- height: 20px;
135
- background-color: #4285F4;
136
- border-radius: 5px;
137
83
  }
@@ -1,4 +1,4 @@
1
- <div class="column" style="height: 100%">
1
+ <div class="page">
2
2
  <div class="column header">
3
3
  <span id="status">Loading...</span>
4
4
  <div class="column divider"></div>