react-native-usesense 2.3.5 → 2.3.7

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.
@@ -39,12 +39,16 @@ dependencies {
39
39
  implementation "com.facebook.react:react-native:+"
40
40
 
41
41
  // UseSense Android SDK — published to Maven Central at
42
- // central.sonatype.com/artifact/ai.usesense/sdk. Pinned to 4.3.0,
43
- // the release that adds the V4 capture API + Flows runner (matches
44
- // the iOS SDK 4.3.0 the plugin's podspec depends on). mavenCentral()
45
- // is already in the `repositories` block above, so no custom
46
- // repository declaration is needed.
47
- implementation "ai.usesense:sdk:4.6.4"
42
+ // central.sonatype.com/artifact/ai.usesense/sdk. 4.6.5 is the floor:
43
+ // earlier builds could hang forever on "Finalizing Enrollment" because
44
+ // the Play Integrity token request had no timeout and the signal upload
45
+ // joined it unbounded, wedging the verification before a single request
46
+ // was sent. mavenCentral() is already in the `repositories` block above.
47
+ // 4.6.6 is the floor: below it an upload that arrived incomplete was
48
+ // reported as `provider`, so the runner told a subject holding a perfectly
49
+ // good document that verification was "temporarily unavailable" and
50
+ // offered a retry that re-sent identical bytes.
51
+ implementation "ai.usesense:sdk:4.6.6"
48
52
 
49
53
  implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion', '2.0.0')}"
50
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-usesense",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
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",
@@ -26,5 +26,12 @@ Pod::Spec.new do |s|
26
26
  # redaction result type with a completely different UseSenseConfig
27
27
  # init signature. See CHANGELOG [2.0.0] for the full rewrite
28
28
  # rationale.
29
- s.dependency "UseSenseSDK", "~> 4.6"
29
+ # 4.6.1 raised the floor: earlier 4.6.x tore the runner down on a failed
30
+ # document upload, ejecting the subject mid-flow, and cancelling the
31
+ # scanner or photo picker cancelled the whole verification.
32
+ # 4.6.2 is the floor: below it an upload that arrived incomplete was reported
33
+ # as `provider`, so the runner told a subject holding a perfectly good
34
+ # document that verification was "temporarily unavailable" and offered a
35
+ # retry that re-sent identical bytes.
36
+ s.dependency "UseSenseSDK", "~> 4.6.2"
30
37
  end