@regulaforensics/face-sdk 8.3.1348-rc → 8.3.1357-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.
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 = '8.3.1348-rc'
8
+ s.version = '8.3.1357-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/**/*.swift', 'ios/**/RN*.m' ]
18
18
  s.exclude_files = [ 'ios/CDVFaceSDK.swift' ]
19
- s.dependency 'FaceSDKStage', '8.4.4888'
19
+ s.dependency 'FaceSDKStage', '8.4.4892'
20
20
  s.dependency 'React'
21
21
  end
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.face:api:8.3.5353'){
32
+ implementation('com.regula.face:api:8.3.5361'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -12,7 +12,7 @@ repositories {
12
12
 
13
13
  dependencies {
14
14
  //noinspection GradleDependency
15
- implementation('com.regula.face:api:8.3.5353'){
15
+ implementation('com.regula.face:api:8.3.5361'){
16
16
  transitive = true
17
17
  }
18
18
  }
@@ -1616,9 +1616,9 @@
1616
1616
  }
1617
1617
  },
1618
1618
  "node_modules/@xmldom/xmldom": {
1619
- "version": "0.8.13",
1620
- "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",
1621
- "integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",
1619
+ "version": "0.8.15",
1620
+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.15.tgz",
1621
+ "integrity": "sha512-/5NV/vDALVFDXgLmfsy9TRCBlKwO2LNBFzpzvb9iIj+jR+eSc6DLYYvVOdivT/jm7MtU6TebYuRmzEOI7w40UA==",
1622
1622
  "license": "MIT",
1623
1623
  "engines": {
1624
1624
  "node": ">=10.0.0"
@@ -6,8 +6,8 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/face-sdk": "8.3.1348-rc",
10
- "@regulaforensics/face-core-basic": "8.4.819-rc",
9
+ "@regulaforensics/face-sdk": "8.3.1357-rc",
10
+ "@regulaforensics/face-core-basic": "8.4.822-rc",
11
11
  "@awesome-cordova-plugins/file": "^8.1.0",
12
12
  "@awesome-cordova-plugins/camera": "^8.1.0",
13
13
  "cordova-plugin-file": "^8.1.3",
@@ -16859,9 +16859,9 @@
16859
16859
  }
16860
16860
  },
16861
16861
  "node_modules/qs": {
16862
- "version": "6.15.3",
16863
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz",
16864
- "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
16862
+ "version": "6.16.0",
16863
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",
16864
+ "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
16865
16865
  "license": "BSD-3-Clause",
16866
16866
  "dependencies": {
16867
16867
  "es-define-property": "^1.0.1",
@@ -19161,9 +19161,9 @@
19161
19161
  }
19162
19162
  },
19163
19163
  "node_modules/webpack-dev-server/node_modules/body-parser": {
19164
- "version": "1.20.6",
19165
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.6.tgz",
19166
- "integrity": "sha512-p5tAzS57i5MV9fZFDj9LeIiTZEufbSe2eDozP+ElheSUq1m74CRq1jI4mYNDdVs9vQztXFLuk/Gd6BWTdwRJ5g==",
19164
+ "version": "1.20.8",
19165
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.8.tgz",
19166
+ "integrity": "sha512-JNcyFQ64OiijEkPzUBTCe+hyPXUD/3LEldGQ6iF5LR1w00mx9o7xtDWHXBY2iItjdCFGoilOLNQbH943ut7pHA==",
19167
19167
  "license": "MIT",
19168
19168
  "dependencies": {
19169
19169
  "bytes": "~3.1.2",
@@ -19174,7 +19174,7 @@
19174
19174
  "http-errors": "~2.0.1",
19175
19175
  "iconv-lite": "~0.4.24",
19176
19176
  "on-finished": "~2.4.1",
19177
- "qs": "~6.15.1",
19177
+ "qs": "~6.16.0",
19178
19178
  "raw-body": "~2.5.3",
19179
19179
  "type-is": "~1.6.18",
19180
19180
  "unpipe": "~1.0.0"
@@ -19242,9 +19242,9 @@
19242
19242
  "license": "MIT"
19243
19243
  },
19244
19244
  "node_modules/webpack-dev-server/node_modules/express": {
19245
- "version": "4.22.2",
19246
- "resolved": "https://registry.npmjs.org/express/-/express-4.22.2.tgz",
19247
- "integrity": "sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q==",
19245
+ "version": "4.22.3",
19246
+ "resolved": "https://registry.npmjs.org/express/-/express-4.22.3.tgz",
19247
+ "integrity": "sha512-Bdcs4+3qlpVlx2NRn6fgX2Ue2/gGRaPeawebgclM0ERSCqDpA+owF1fdPwjJUTAJWMTuAaxjDf+hzb0/4eKvvw==",
19248
19248
  "license": "MIT",
19249
19249
  "dependencies": {
19250
19250
  "accepts": "~1.3.8",
@@ -19266,9 +19266,9 @@
19266
19266
  "methods": "~1.1.2",
19267
19267
  "on-finished": "~2.4.1",
19268
19268
  "parseurl": "~1.3.3",
19269
- "path-to-regexp": "~0.1.12",
19269
+ "path-to-regexp": "~0.1.13",
19270
19270
  "proxy-addr": "~2.0.7",
19271
- "qs": "~6.15.1",
19271
+ "qs": "~6.16.0",
19272
19272
  "range-parser": "~1.2.1",
19273
19273
  "safe-buffer": "5.2.1",
19274
19274
  "send": "~0.19.0",
@@ -20,8 +20,8 @@
20
20
  "@awesome-cordova-plugins/camera": "^9.2.0",
21
21
  "@awesome-cordova-plugins/dialogs": "^9.2.0",
22
22
  "@awesome-cordova-plugins/file": "^9.2.0",
23
- "@regulaforensics/face-sdk": "8.3.1348-rc",
24
- "@regulaforensics/face-core-basic": "8.4.819-rc",
23
+ "@regulaforensics/face-sdk": "8.3.1357-rc",
24
+ "@regulaforensics/face-core-basic": "8.4.822-rc",
25
25
  "cordova-android": "^15.0.0",
26
26
  "cordova-ios": "^8.1.1",
27
27
  "cordova-plugin-camera": "^8.0.0",
@@ -1529,97 +1529,6 @@
1529
1529
  "sucrase": "~3.35.1"
1530
1530
  }
1531
1531
  },
1532
- "node_modules/@expo/config-plugins": {
1533
- "version": "10.1.2",
1534
- "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-10.1.2.tgz",
1535
- "integrity": "sha512-IMYCxBOcnuFStuK0Ay+FzEIBKrwW8OVUMc65+v0+i7YFIIe8aL342l7T4F8lR4oCfhXn7d6M5QPgXvjtc/gAcw==",
1536
- "license": "MIT",
1537
- "dependencies": {
1538
- "@expo/config-types": "^53.0.5",
1539
- "@expo/json-file": "~9.1.5",
1540
- "@expo/plist": "^0.3.5",
1541
- "@expo/sdk-runtime-versions": "^1.0.0",
1542
- "chalk": "^4.1.2",
1543
- "debug": "^4.3.5",
1544
- "getenv": "^2.0.0",
1545
- "glob": "^10.4.2",
1546
- "resolve-from": "^5.0.0",
1547
- "semver": "^7.5.4",
1548
- "slash": "^3.0.0",
1549
- "slugify": "^1.6.6",
1550
- "xcode": "^3.0.1",
1551
- "xml2js": "0.6.0"
1552
- }
1553
- },
1554
- "node_modules/@expo/config-plugins/node_modules/balanced-match": {
1555
- "version": "1.0.2",
1556
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1557
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1558
- "license": "MIT"
1559
- },
1560
- "node_modules/@expo/config-plugins/node_modules/brace-expansion": {
1561
- "version": "2.1.4",
1562
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
1563
- "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
1564
- "license": "MIT",
1565
- "dependencies": {
1566
- "balanced-match": "^1.0.0"
1567
- }
1568
- },
1569
- "node_modules/@expo/config-plugins/node_modules/glob": {
1570
- "version": "10.5.0",
1571
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1572
- "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1573
- "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
1574
- "license": "ISC",
1575
- "dependencies": {
1576
- "foreground-child": "^3.1.0",
1577
- "jackspeak": "^3.1.2",
1578
- "minimatch": "^9.0.4",
1579
- "minipass": "^7.1.2",
1580
- "package-json-from-dist": "^1.0.0",
1581
- "path-scurry": "^1.11.1"
1582
- },
1583
- "bin": {
1584
- "glob": "dist/esm/bin.mjs"
1585
- },
1586
- "funding": {
1587
- "url": "https://github.com/sponsors/isaacs"
1588
- }
1589
- },
1590
- "node_modules/@expo/config-plugins/node_modules/minimatch": {
1591
- "version": "9.0.9",
1592
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
1593
- "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
1594
- "license": "ISC",
1595
- "dependencies": {
1596
- "brace-expansion": "^2.0.2"
1597
- },
1598
- "engines": {
1599
- "node": ">=16 || 14 >=14.17"
1600
- },
1601
- "funding": {
1602
- "url": "https://github.com/sponsors/isaacs"
1603
- }
1604
- },
1605
- "node_modules/@expo/config-plugins/node_modules/semver": {
1606
- "version": "7.8.5",
1607
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
1608
- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
1609
- "license": "ISC",
1610
- "bin": {
1611
- "semver": "bin/semver.js"
1612
- },
1613
- "engines": {
1614
- "node": ">=10"
1615
- }
1616
- },
1617
- "node_modules/@expo/config-types": {
1618
- "version": "53.0.5",
1619
- "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-53.0.5.tgz",
1620
- "integrity": "sha512-kqZ0w44E+HEGBjy+Lpyn0BVL5UANg/tmNixxaRMLS6nf37YsDrLk2VMAmeKMMk5CKG0NmOdVv3ngeUjRQMsy9g==",
1621
- "license": "MIT"
1622
- },
1623
1532
  "node_modules/@expo/config/node_modules/@babel/code-frame": {
1624
1533
  "version": "7.10.4",
1625
1534
  "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
@@ -1912,25 +1821,6 @@
1912
1821
  "node": ">=10"
1913
1822
  }
1914
1823
  },
1915
- "node_modules/@expo/json-file": {
1916
- "version": "9.1.5",
1917
- "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-9.1.5.tgz",
1918
- "integrity": "sha512-prWBhLUlmcQtvN6Y7BpW2k9zXGd3ySa3R6rAguMJkp1z22nunLN64KYTUWfijFlprFoxm9r2VNnGkcbndAlgKA==",
1919
- "license": "MIT",
1920
- "dependencies": {
1921
- "@babel/code-frame": "~7.10.4",
1922
- "json5": "^2.2.3"
1923
- }
1924
- },
1925
- "node_modules/@expo/json-file/node_modules/@babel/code-frame": {
1926
- "version": "7.10.4",
1927
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
1928
- "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
1929
- "license": "MIT",
1930
- "dependencies": {
1931
- "@babel/highlight": "^7.10.4"
1932
- }
1933
- },
1934
1824
  "node_modules/@expo/metro": {
1935
1825
  "version": "54.2.0",
1936
1826
  "resolved": "https://registry.npmjs.org/@expo/metro/-/metro-54.2.0.tgz",
@@ -2119,17 +2009,6 @@
2119
2009
  "json5": "^2.2.3"
2120
2010
  }
2121
2011
  },
2122
- "node_modules/@expo/plist": {
2123
- "version": "0.3.5",
2124
- "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.3.5.tgz",
2125
- "integrity": "sha512-9RYVU1iGyCJ7vWfg3e7c/NVyMFs8wbl+dMWZphtFtsqyN9zppGREU3ctlD3i8KUE0sCUTVnLjCWr+VeUIDep2g==",
2126
- "license": "MIT",
2127
- "dependencies": {
2128
- "@xmldom/xmldom": "^0.8.8",
2129
- "base64-js": "^1.2.3",
2130
- "xmlbuilder": "^15.1.1"
2131
- }
2132
- },
2133
2012
  "node_modules/@expo/prebuild-config": {
2134
2013
  "version": "54.0.9",
2135
2014
  "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-54.0.9.tgz",
@@ -2359,102 +2238,6 @@
2359
2238
  "excpretty": "build/cli.js"
2360
2239
  }
2361
2240
  },
2362
- "node_modules/@isaacs/cliui": {
2363
- "version": "8.0.2",
2364
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
2365
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
2366
- "license": "ISC",
2367
- "dependencies": {
2368
- "string-width": "^5.1.2",
2369
- "string-width-cjs": "npm:string-width@^4.2.0",
2370
- "strip-ansi": "^7.0.1",
2371
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
2372
- "wrap-ansi": "^8.1.0",
2373
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
2374
- },
2375
- "engines": {
2376
- "node": ">=12"
2377
- }
2378
- },
2379
- "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
2380
- "version": "6.3.0",
2381
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz",
2382
- "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==",
2383
- "license": "MIT",
2384
- "engines": {
2385
- "node": ">=12"
2386
- },
2387
- "funding": {
2388
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
2389
- }
2390
- },
2391
- "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
2392
- "version": "6.2.3",
2393
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
2394
- "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
2395
- "license": "MIT",
2396
- "engines": {
2397
- "node": ">=12"
2398
- },
2399
- "funding": {
2400
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
2401
- }
2402
- },
2403
- "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
2404
- "version": "9.2.2",
2405
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
2406
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
2407
- "license": "MIT"
2408
- },
2409
- "node_modules/@isaacs/cliui/node_modules/string-width": {
2410
- "version": "5.1.2",
2411
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
2412
- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
2413
- "license": "MIT",
2414
- "dependencies": {
2415
- "eastasianwidth": "^0.2.0",
2416
- "emoji-regex": "^9.2.2",
2417
- "strip-ansi": "^7.0.1"
2418
- },
2419
- "engines": {
2420
- "node": ">=12"
2421
- },
2422
- "funding": {
2423
- "url": "https://github.com/sponsors/sindresorhus"
2424
- }
2425
- },
2426
- "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
2427
- "version": "7.2.0",
2428
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
2429
- "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
2430
- "license": "MIT",
2431
- "dependencies": {
2432
- "ansi-regex": "^6.2.2"
2433
- },
2434
- "engines": {
2435
- "node": ">=12"
2436
- },
2437
- "funding": {
2438
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
2439
- }
2440
- },
2441
- "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
2442
- "version": "8.1.0",
2443
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
2444
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
2445
- "license": "MIT",
2446
- "dependencies": {
2447
- "ansi-styles": "^6.1.0",
2448
- "string-width": "^5.0.1",
2449
- "strip-ansi": "^7.0.1"
2450
- },
2451
- "engines": {
2452
- "node": ">=12"
2453
- },
2454
- "funding": {
2455
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
2456
- }
2457
- },
2458
2241
  "node_modules/@isaacs/fs-minipass": {
2459
2242
  "version": "4.0.1",
2460
2243
  "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
@@ -2664,16 +2447,6 @@
2664
2447
  "@jridgewell/sourcemap-codec": "^1.4.14"
2665
2448
  }
2666
2449
  },
2667
- "node_modules/@pkgjs/parseargs": {
2668
- "version": "0.11.0",
2669
- "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
2670
- "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
2671
- "license": "MIT",
2672
- "optional": true,
2673
- "engines": {
2674
- "node": ">=14"
2675
- }
2676
- },
2677
2450
  "node_modules/@react-native/assets-registry": {
2678
2451
  "version": "0.81.6",
2679
2452
  "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.81.6.tgz",
@@ -4384,12 +4157,6 @@
4384
4157
  "url": "https://dotenvx.com"
4385
4158
  }
4386
4159
  },
4387
- "node_modules/eastasianwidth": {
4388
- "version": "0.2.0",
4389
- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
4390
- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
4391
- "license": "MIT"
4392
- },
4393
4160
  "node_modules/ee-first": {
4394
4161
  "version": "1.1.1",
4395
4162
  "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
@@ -5204,34 +4971,6 @@
5204
4971
  "integrity": "sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==",
5205
4972
  "license": "BSD-2-Clause"
5206
4973
  },
5207
- "node_modules/foreground-child": {
5208
- "version": "3.3.1",
5209
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
5210
- "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
5211
- "license": "ISC",
5212
- "dependencies": {
5213
- "cross-spawn": "^7.0.6",
5214
- "signal-exit": "^4.0.1"
5215
- },
5216
- "engines": {
5217
- "node": ">=14"
5218
- },
5219
- "funding": {
5220
- "url": "https://github.com/sponsors/isaacs"
5221
- }
5222
- },
5223
- "node_modules/foreground-child/node_modules/signal-exit": {
5224
- "version": "4.1.0",
5225
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
5226
- "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
5227
- "license": "ISC",
5228
- "engines": {
5229
- "node": ">=14"
5230
- },
5231
- "funding": {
5232
- "url": "https://github.com/sponsors/isaacs"
5233
- }
5234
- },
5235
4974
  "node_modules/freeport-async": {
5236
4975
  "version": "2.0.0",
5237
4976
  "resolved": "https://registry.npmjs.org/freeport-async/-/freeport-async-2.0.0.tgz",
@@ -5657,21 +5396,6 @@
5657
5396
  "node": ">=8"
5658
5397
  }
5659
5398
  },
5660
- "node_modules/jackspeak": {
5661
- "version": "3.4.3",
5662
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
5663
- "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
5664
- "license": "BlueOak-1.0.0",
5665
- "dependencies": {
5666
- "@isaacs/cliui": "^8.0.2"
5667
- },
5668
- "funding": {
5669
- "url": "https://github.com/sponsors/isaacs"
5670
- },
5671
- "optionalDependencies": {
5672
- "@pkgjs/parseargs": "^0.11.0"
5673
- }
5674
- },
5675
5399
  "node_modules/jest-environment-node": {
5676
5400
  "version": "29.7.0",
5677
5401
  "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz",
@@ -7539,12 +7263,6 @@
7539
7263
  "node": ">=6"
7540
7264
  }
7541
7265
  },
7542
- "node_modules/package-json-from-dist": {
7543
- "version": "1.0.1",
7544
- "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
7545
- "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
7546
- "license": "BlueOak-1.0.0"
7547
- },
7548
7266
  "node_modules/parse-png": {
7549
7267
  "version": "2.1.0",
7550
7268
  "resolved": "https://registry.npmjs.org/parse-png/-/parse-png-2.1.0.tgz",
@@ -7599,28 +7317,6 @@
7599
7317
  "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
7600
7318
  "license": "MIT"
7601
7319
  },
7602
- "node_modules/path-scurry": {
7603
- "version": "1.11.1",
7604
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
7605
- "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
7606
- "license": "BlueOak-1.0.0",
7607
- "dependencies": {
7608
- "lru-cache": "^10.2.0",
7609
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
7610
- },
7611
- "engines": {
7612
- "node": ">=16 || 14 >=14.18"
7613
- },
7614
- "funding": {
7615
- "url": "https://github.com/sponsors/isaacs"
7616
- }
7617
- },
7618
- "node_modules/path-scurry/node_modules/lru-cache": {
7619
- "version": "10.4.3",
7620
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
7621
- "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
7622
- "license": "ISC"
7623
- },
7624
7320
  "node_modules/picocolors": {
7625
7321
  "version": "1.1.1",
7626
7322
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -8499,21 +8195,6 @@
8499
8195
  "node": ">=8"
8500
8196
  }
8501
8197
  },
8502
- "node_modules/string-width-cjs": {
8503
- "name": "string-width",
8504
- "version": "4.2.3",
8505
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
8506
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
8507
- "license": "MIT",
8508
- "dependencies": {
8509
- "emoji-regex": "^8.0.0",
8510
- "is-fullwidth-code-point": "^3.0.0",
8511
- "strip-ansi": "^6.0.1"
8512
- },
8513
- "engines": {
8514
- "node": ">=8"
8515
- }
8516
- },
8517
8198
  "node_modules/strip-ansi": {
8518
8199
  "version": "6.0.1",
8519
8200
  "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
@@ -8526,19 +8207,6 @@
8526
8207
  "node": ">=8"
8527
8208
  }
8528
8209
  },
8529
- "node_modules/strip-ansi-cjs": {
8530
- "name": "strip-ansi",
8531
- "version": "6.0.1",
8532
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
8533
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
8534
- "license": "MIT",
8535
- "dependencies": {
8536
- "ansi-regex": "^5.0.1"
8537
- },
8538
- "engines": {
8539
- "node": ">=8"
8540
- }
8541
- },
8542
8210
  "node_modules/strip-json-comments": {
8543
8211
  "version": "2.0.1",
8544
8212
  "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
@@ -9076,24 +8744,6 @@
9076
8744
  "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
9077
8745
  }
9078
8746
  },
9079
- "node_modules/wrap-ansi-cjs": {
9080
- "name": "wrap-ansi",
9081
- "version": "7.0.0",
9082
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
9083
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
9084
- "license": "MIT",
9085
- "dependencies": {
9086
- "ansi-styles": "^4.0.0",
9087
- "string-width": "^4.1.0",
9088
- "strip-ansi": "^6.0.0"
9089
- },
9090
- "engines": {
9091
- "node": ">=10"
9092
- },
9093
- "funding": {
9094
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
9095
- }
9096
- },
9097
8747
  "node_modules/wrappy": {
9098
8748
  "version": "1.0.2",
9099
8749
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
@@ -8,8 +8,8 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/face-sdk": "8.3.1348-rc",
12
- "@regulaforensics/face-core-basic": "8.4.819-rc",
11
+ "@regulaforensics/face-sdk": "8.3.1357-rc",
12
+ "@regulaforensics/face-core-basic": "8.4.822-rc",
13
13
  "react-native": "^0.81.4",
14
14
  "react-native-fs": "^2.20.0",
15
15
  "react-native-image-picker": "^8.2.1",
@@ -33,10 +33,22 @@ func sendEvent(_ event: String, _ data: Any? = "") {
33
33
  this!.commandDelegate.send(result!, callbackId: callbackId)
34
34
  }
35
35
 
36
- let rootViewController: () -> UIViewController? = {
37
- return UIApplication.shared.connectedScenes
38
- .compactMap { $0 as? UIWindowScene }
39
- .flatMap { $0.windows }
40
- .first { $0.isKeyWindow }?
41
- .rootViewController
36
+ func runAsync(_ action: @escaping (UIViewController) -> Void) {
37
+ DispatchQueue.main.async {
38
+ let windows = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }.filter { $0.activationState == .foregroundActive || $0.activationState == .foregroundInactive }.flatMap { $0.windows }
39
+ let candidates = windows.filter { $0.isKeyWindow } + windows.filter { !$0.isKeyWindow && !$0.isHidden && $0.alpha > 0 && $0.windowLevel == .normal }
40
+ for window in candidates {
41
+ guard var presenter = window.rootViewController else { continue }
42
+ while let next = presenter.presentedViewController
43
+ ?? (presenter as? UINavigationController)?.visibleViewController
44
+ ?? (presenter as? UINavigationController)?.topViewController
45
+ ?? (presenter as? UITabBarController)?.selectedViewController {
46
+ presenter = next
47
+ }
48
+ guard presenter.viewIfLoaded?.window != nil else { continue }
49
+ action(presenter)
50
+ return
51
+ }
52
+ print("REGULA: Cannot present the UI: no presenter available.")
53
+ }
42
54
  }
@@ -39,26 +39,26 @@ func methodCall(_ method: String, _ callback: @escaping Callback) {
39
39
  })
40
40
  case("deinitialize"): face.deinitialize()
41
41
  case("startFaceCapture"): let config = FaceCaptureConfiguration.decode(argsNullable(0))
42
- DispatchQueue.main.async {
42
+ runAsync { presenter in
43
43
  face.presentFaceCaptureViewController(
44
- from: rootViewController()!,
44
+ from: presenter,
45
45
  animated: true,
46
46
  configuration: config,
47
47
  onCapture: { callback($0.encode()) })
48
48
  }
49
49
  case("stopFaceCapture"): face.stopFaceCaptureViewController()
50
50
  case("startLiveness"): let config = LivenessConfiguration.decode(argsNullable(0))
51
- DispatchQueue.main.async {
51
+ runAsync { presenter in
52
52
  face.startLiveness(
53
- from: rootViewController()!,
53
+ from: presenter,
54
54
  animated: true,
55
55
  configuration: config,
56
56
  onLiveness: { callback($0.encode()) })
57
57
  }
58
58
  case("startEnrollment"): let config = EnrollmentConfiguration.decode2(args(0))
59
- DispatchQueue.main.async {
59
+ runAsync { presenter in
60
60
  face.startEnrollment(
61
- from: rootViewController()!,
61
+ from: presenter,
62
62
  animated: true,
63
63
  configuration: config,
64
64
  onEnrollment: { callback([
@@ -67,9 +67,9 @@ func methodCall(_ method: String, _ callback: @escaping Callback) {
67
67
  ]) })
68
68
  }
69
69
  case("startVerification"): let config = VerificationConfiguration.decode2(args(0))
70
- DispatchQueue.main.async {
70
+ runAsync { presenter in
71
71
  face.startVerification(
72
- from: rootViewController()!,
72
+ from: presenter,
73
73
  animated: true,
74
74
  configuration: config,
75
75
  onVerification: { callback([
@@ -34,9 +34,15 @@ private var this: RNFaceSDK?
34
34
 
35
35
  func sendEvent(_ event: String, _ data: Any? = nil) {
36
36
  guard let plugin = this, hasListeners else { return }
37
+ runAsync { _ in plugin.sendEvent(withName: event, body: data.toSendable()) }
38
+ }
39
+
40
+ func runAsync(_ action: @escaping (UIViewController) -> Void) {
37
41
  DispatchQueue.main.async {
38
- plugin.sendEvent(withName: event, body: data.toSendable())
42
+ if let presenter = RCTPresentedViewController() {
43
+ action(presenter)
44
+ return
45
+ }
46
+ print("REGULA: Cannot present Face SDK UI: no presenter available.")
39
47
  }
40
48
  }
41
-
42
- let rootViewController: () -> UIViewController? = { return RCTPresentedViewController() }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "8.3.1348-rc",
3
+ "version": "8.3.1357-rc",
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="8.3.1348-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="8.3.1357-rc" 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>
@@ -27,7 +27,7 @@
27
27
  <source url="https://github.com/regulaforensics/podspecs.git" />
28
28
  </config>
29
29
  <pods>
30
- <pod name="FaceSDKStage" spec="8.4.4888" />
30
+ <pod name="FaceSDKStage" spec="8.4.4892" />
31
31
  </pods>
32
32
  </podspec>
33
33
  </platform>
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/face-sdk",
16
- "version": "8.3.1348-rc",
16
+ "version": "8.3.1357-rc",
17
17
  "dev": true,
18
18
  "license": "commercial",
19
19
  "dependencies": {