@regulaforensics/face-sdk 7.2.677-rc → 7.2.678-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.
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.677-rc'
8
+ s.version = '7.2.678-nightly'
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 'FaceSDKStage', '8.1.3449'
19
+ s.dependency 'FaceSDKNightly', '8.1.3490'
20
20
  s.dependency 'React'
21
21
  end
@@ -1,5 +1,6 @@
1
1
  package com.regula.plugin.facesdk
2
2
 
3
+ import android.app.Activity
3
4
  import android.content.Context
4
5
  import android.util.Log
5
6
  import org.apache.cordova.CallbackContext
@@ -13,6 +14,8 @@ lateinit var args: JSONArray
13
14
  lateinit var binding: CordovaPlugin
14
15
  val context: Context
15
16
  get() = binding.cordova.context
17
+ val activity: Activity
18
+ get() = binding.cordova.activity
16
19
 
17
20
  fun sendEvent(callbackId: String, data: Any? = "") {
18
21
  val pluginResult = when (data) {
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
24
24
  }
25
25
  }
26
26
  }
@@ -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:7.2.4251'){
32
+ implementation('com.regula.face:api:7.2.4252'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -6,13 +6,13 @@ android {
6
6
 
7
7
  repositories {
8
8
  maven {
9
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
9
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
10
10
  }
11
11
  }
12
12
 
13
13
  dependencies {
14
14
  //noinspection GradleDependency
15
- implementation('com.regula.face:api:7.2.4251'){
15
+ implementation('com.regula.face:api:7.2.4252'){
16
16
  transitive = true
17
17
  }
18
18
  }
@@ -128,13 +128,13 @@ fun deinitialize() = Instance().deinitialize()
128
128
 
129
129
  fun startFaceCapture(callback: Callback, config: JSONObject?) = config?.let {
130
130
  Instance().presentFaceCaptureActivity(
131
- context,
131
+ activity,
132
132
  faceCaptureConfigFromJSON(it),
133
133
  faceCaptureCompletion(callback),
134
134
  faceCaptureNotificationCompletion()
135
135
  )
136
136
  } ?: Instance().presentFaceCaptureActivity(
137
- context,
137
+ activity,
138
138
  faceCaptureCompletion(callback),
139
139
  faceCaptureNotificationCompletion()
140
140
  )
@@ -143,13 +143,13 @@ fun stopFaceCapture() = Instance().stopFaceCaptureActivity(context)
143
143
 
144
144
  fun startLiveness(callback: Callback, config: JSONObject?) = config?.let {
145
145
  Instance().startLiveness(
146
- context,
146
+ activity,
147
147
  livenessConfigFromJSON(it),
148
148
  livenessCompletion(callback),
149
149
  livenessNotificationCompletion()
150
150
  )
151
151
  } ?: Instance().startLiveness(
152
- context,
152
+ activity,
153
153
  livenessCompletion(callback),
154
154
  livenessNotificationCompletion()
155
155
  )
@@ -1,5 +1,6 @@
1
1
  package com.regula.plugin.facesdk
2
2
 
3
+ import android.app.Activity
3
4
  import android.content.Context
4
5
  import android.util.Log
5
6
  import com.facebook.react.ReactPackage
@@ -20,6 +21,8 @@ lateinit var args: JSONArray
20
21
  lateinit var binding: ReactContext
21
22
  val context: Context
22
23
  get() = binding.applicationContext
24
+ val activity: Activity
25
+ get() = binding.currentActivity!!
23
26
 
24
27
  fun sendEvent(event: String, data: Any? = "") {
25
28
  if (listenerCount <= 0) return
@@ -1025,6 +1025,27 @@
1025
1025
  "node": ">=16.0.0"
1026
1026
  }
1027
1027
  },
1028
+ "node_modules/@isaacs/balanced-match": {
1029
+ "version": "4.0.1",
1030
+ "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
1031
+ "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
1032
+ "license": "MIT",
1033
+ "engines": {
1034
+ "node": "20 || >=22"
1035
+ }
1036
+ },
1037
+ "node_modules/@isaacs/brace-expansion": {
1038
+ "version": "5.0.0",
1039
+ "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
1040
+ "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
1041
+ "license": "MIT",
1042
+ "dependencies": {
1043
+ "@isaacs/balanced-match": "^4.0.1"
1044
+ },
1045
+ "engines": {
1046
+ "node": "20 || >=22"
1047
+ }
1048
+ },
1028
1049
  "node_modules/@isaacs/cliui": {
1029
1050
  "version": "8.0.2",
1030
1051
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -1043,9 +1064,9 @@
1043
1064
  }
1044
1065
  },
1045
1066
  "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
1046
- "version": "6.1.0",
1047
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
1048
- "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
1067
+ "version": "6.2.2",
1068
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
1069
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
1049
1070
  "license": "MIT",
1050
1071
  "engines": {
1051
1072
  "node": ">=12"
@@ -1055,9 +1076,9 @@
1055
1076
  }
1056
1077
  },
1057
1078
  "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
1058
- "version": "6.2.1",
1059
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
1060
- "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
1079
+ "version": "6.2.3",
1080
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
1081
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
1061
1082
  "license": "MIT",
1062
1083
  "engines": {
1063
1084
  "node": ">=12"
@@ -1090,9 +1111,9 @@
1090
1111
  }
1091
1112
  },
1092
1113
  "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
1093
- "version": "7.1.0",
1094
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
1095
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
1114
+ "version": "7.1.2",
1115
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
1116
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
1096
1117
  "license": "MIT",
1097
1118
  "dependencies": {
1098
1119
  "ansi-regex": "^6.0.1"
@@ -1683,12 +1704,6 @@
1683
1704
  "node": ">= 4.0.0"
1684
1705
  }
1685
1706
  },
1686
- "node_modules/balanced-match": {
1687
- "version": "1.0.2",
1688
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1689
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1690
- "license": "MIT"
1691
- },
1692
1707
  "node_modules/base64-js": {
1693
1708
  "version": "1.5.1",
1694
1709
  "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -1742,15 +1757,6 @@
1742
1757
  "node": ">= 5.10.0"
1743
1758
  }
1744
1759
  },
1745
- "node_modules/brace-expansion": {
1746
- "version": "2.0.2",
1747
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
1748
- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
1749
- "license": "MIT",
1750
- "dependencies": {
1751
- "balanced-match": "^1.0.0"
1752
- }
1753
- },
1754
1760
  "node_modules/braces": {
1755
1761
  "version": "3.0.3",
1756
1762
  "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
@@ -2223,14 +2229,14 @@
2223
2229
  }
2224
2230
  },
2225
2231
  "node_modules/glob": {
2226
- "version": "11.0.2",
2227
- "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.2.tgz",
2228
- "integrity": "sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==",
2229
- "license": "ISC",
2232
+ "version": "11.1.0",
2233
+ "resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz",
2234
+ "integrity": "sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==",
2235
+ "license": "BlueOak-1.0.0",
2230
2236
  "dependencies": {
2231
- "foreground-child": "^3.1.0",
2232
- "jackspeak": "^4.0.1",
2233
- "minimatch": "^10.0.0",
2237
+ "foreground-child": "^3.3.1",
2238
+ "jackspeak": "^4.1.1",
2239
+ "minimatch": "^10.1.1",
2234
2240
  "minipass": "^7.1.2",
2235
2241
  "package-json-from-dist": "^1.0.0",
2236
2242
  "path-scurry": "^2.0.0"
@@ -2381,9 +2387,9 @@
2381
2387
  "license": "ISC"
2382
2388
  },
2383
2389
  "node_modules/jackspeak": {
2384
- "version": "4.1.0",
2385
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.0.tgz",
2386
- "integrity": "sha512-9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw==",
2390
+ "version": "4.1.1",
2391
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
2392
+ "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
2387
2393
  "license": "BlueOak-1.0.0",
2388
2394
  "dependencies": {
2389
2395
  "@isaacs/cliui": "^8.0.2"
@@ -2456,12 +2462,12 @@
2456
2462
  }
2457
2463
  },
2458
2464
  "node_modules/minimatch": {
2459
- "version": "10.0.1",
2460
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
2461
- "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
2462
- "license": "ISC",
2465
+ "version": "10.1.1",
2466
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz",
2467
+ "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==",
2468
+ "license": "BlueOak-1.0.0",
2463
2469
  "dependencies": {
2464
- "brace-expansion": "^2.0.1"
2470
+ "@isaacs/brace-expansion": "^5.0.0"
2465
2471
  },
2466
2472
  "engines": {
2467
2473
  "node": "20 || >=22"
@@ -3206,9 +3212,9 @@
3206
3212
  "license": "MIT"
3207
3213
  },
3208
3214
  "node_modules/vite": {
3209
- "version": "6.3.6",
3210
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.6.tgz",
3211
- "integrity": "sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==",
3215
+ "version": "6.4.1",
3216
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
3217
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
3212
3218
  "license": "MIT",
3213
3219
  "peer": true,
3214
3220
  "dependencies": {
@@ -6,8 +6,8 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/face-sdk": "7.2.677-rc",
10
- "@regulaforensics/face-core-basic": "8.1.300-rc",
9
+ "@regulaforensics/face-sdk": "7.2.678-nightly",
10
+ "@regulaforensics/face-core-basic": "8.1.357-nightly",
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",