react-native-usesense 2.3.7 → 2.3.9
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/android/build.gradle +12 -1
- package/package.json +1 -1
- package/react-native-usesense.podspec +14 -1
package/android/build.gradle
CHANGED
|
@@ -48,7 +48,18 @@ dependencies {
|
|
|
48
48
|
// reported as `provider`, so the runner told a subject holding a perfectly
|
|
49
49
|
// good document that verification was "temporarily unavailable" and
|
|
50
50
|
// offered a retry that re-sent identical bytes.
|
|
51
|
-
|
|
51
|
+
// 4.6.7 is the floor: from it the runner reports whether the subject
|
|
52
|
+
// scanned the document or chose a file, so failure guidance can name an
|
|
53
|
+
// action they can actually take. Below it the server guesses from config.
|
|
54
|
+
// 4.7.0 is the floor: below it frames_manifest reported a hardcoded
|
|
55
|
+
// 640x480 regardless of what was captured. That is right for the legacy
|
|
56
|
+
// path but wrong for v4, which captures 1280x720, and the server now
|
|
57
|
+
// scales its screen-replay sharpness thresholds off that value, so
|
|
58
|
+
// under-reporting made spoof detection more permissive on the better
|
|
59
|
+
// capture path. 4.7.0 reports the real encoded size, caps frames at 960,
|
|
60
|
+
// gzips the metadata, raises the 30s upload write timeout to 300s, and
|
|
61
|
+
// emits real upload progress.
|
|
62
|
+
implementation "ai.usesense:sdk:4.7.1"
|
|
52
63
|
|
|
53
64
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion', '2.0.0')}"
|
|
54
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-usesense",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.9",
|
|
4
4
|
"description": "React Native plugin for human presence verification. Wraps the native UseSense iOS and Android SDKs.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -33,5 +33,18 @@ Pod::Spec.new do |s|
|
|
|
33
33
|
# as `provider`, so the runner told a subject holding a perfectly good
|
|
34
34
|
# document that verification was "temporarily unavailable" and offered a
|
|
35
35
|
# retry that re-sent identical bytes.
|
|
36
|
-
|
|
36
|
+
# 4.6.3 is the floor: from it the runner reports whether the subject scanned
|
|
37
|
+
# the document or chose a file, so failure guidance can name an action they
|
|
38
|
+
# can actually take. Below it the server has to guess from the step config.
|
|
39
|
+
# 4.7.0 is the floor: below it the signals upload could not complete on a
|
|
40
|
+
# slow connection. Frames were encoded at the camera's full 1080x1920 with no
|
|
41
|
+
# downscale, so a session put 12.9 MB on the wire, against a 30s request
|
|
42
|
+
# timeout and a 120s URLSession resource timeout. A measured production
|
|
43
|
+
# session uploaded at 14.6 KB/s, so the transfer was cancelled every time and
|
|
44
|
+
# the subject just saw a spinner. 4.7.0 caps frames at 960, raises both
|
|
45
|
+
# timeouts to 300s, gzips the metadata, and emits real upload progress.
|
|
46
|
+
#
|
|
47
|
+
# Note `~> 4.7.0` means >= 4.7.0, < 4.8.0. The previous `~> 4.6.3` excluded
|
|
48
|
+
# 4.7.0 outright, so this pin has to be raised by hand for every native fix.
|
|
49
|
+
s.dependency "UseSenseSDK", "~> 4.7.1"
|
|
37
50
|
end
|