react-native-usesense 2.3.2 → 2.3.4

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/README.md CHANGED
@@ -63,9 +63,8 @@ dependency from the public CocoaPods trunk (`UseSenseSDK`, pinned to
63
63
  ### Android setup
64
64
 
65
65
  The native Sense Android SDK is pulled automatically from Maven
66
- Central (`ai.usesense:sdk:4.2.1`). `mavenCentral()` is in every
67
- Android project by default, so no custom repository declaration is
68
- needed.
66
+ Central (`ai.usesense:sdk`). `mavenCentral()` is in every Android
67
+ project by default, so no custom repository declaration is needed.
69
68
 
70
69
  Add required permissions to your `AndroidManifest.xml`:
71
70
 
@@ -75,15 +74,28 @@ Add required permissions to your `AndroidManifest.xml`:
75
74
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
76
75
  ```
77
76
 
78
- Auto-linking handles registration; no additional Gradle configuration
79
- needed.
77
+ **One Gradle setting is required** (auto-linking handles module
78
+ registration). The native SDK requires Android API 28 — set it in your
79
+ app's `android/build.gradle`:
80
+
81
+ ```groovy
82
+ ext {
83
+ minSdkVersion = 28
84
+ }
85
+ ```
86
+
87
+ Without it, a release build fails at manifest merge
88
+ (`minSdkVersion … cannot be smaller than 28`).
80
89
 
81
90
  ### New Architecture
82
91
 
83
- The plugin supports React Native's New Architecture (Turbo Modules)
84
- out of the box. If your project has the New Architecture enabled, the
85
- plugin uses the Turbo Module path automatically. For projects still on
86
- the Old Architecture (Bridge), the plugin works unchanged.
92
+ For projects on the Old Architecture (Bridge), the plugin works
93
+ unchanged — this is the path exercised by the Android release-build CI.
94
+
95
+ > **New Architecture:** the plugin is written to support Turbo Modules,
96
+ > but the Android release-build CI currently validates only the Old
97
+ > Architecture path. If you build with the New Architecture enabled and
98
+ > hit an issue, please file it.
87
99
 
88
100
  ## Quick start
89
101
 
@@ -44,7 +44,7 @@ dependencies {
44
44
  // the iOS SDK 4.3.0 the plugin's podspec depends on). mavenCentral()
45
45
  // is already in the `repositories` block above, so no custom
46
46
  // repository declaration is needed.
47
- implementation "ai.usesense:sdk:4.6.1"
47
+ implementation "ai.usesense:sdk:4.6.4"
48
48
 
49
49
  implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion', '2.0.0')}"
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-usesense",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
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",