react-native-usesense 2.3.3 → 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
@@ -74,34 +74,18 @@ Add required permissions to your `AndroidManifest.xml`:
74
74
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
75
75
  ```
76
76
 
77
- **Two Gradle settings are required** (auto-linking handles module
78
- registration, but these are needed for the native SDK to resolve and
79
- build in release). In your app's `android/build.gradle`:
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
80
 
81
81
  ```groovy
82
- // 1. The native SDK requires Android API 28.
83
82
  ext {
84
83
  minSdkVersion = 28
85
84
  }
86
-
87
- // 2. The SDK is built with Kotlin 2.2; React Native's Kotlin 1.9
88
- // toolchain can't read 2.2 metadata. Force kotlin-stdlib to a
89
- // 1.9-readable version. (Not needed once RN ships Kotlin >= 2.2.)
90
- allprojects {
91
- configurations.all {
92
- resolutionStrategy.eachDependency {
93
- if (requested.group == 'org.jetbrains.kotlin' &&
94
- requested.name.startsWith('kotlin-stdlib')) {
95
- useVersion '2.0.21'
96
- }
97
- }
98
- }
99
- }
100
85
  ```
101
86
 
102
- Without these, a release build fails at manifest merge
103
- (`minSdkVersion … cannot be smaller than 28`) or Kotlin compile
104
- (`Class 'kotlin.Unit' was compiled with an incompatible version`).
87
+ Without it, a release build fails at manifest merge
88
+ (`minSdkVersion … cannot be smaller than 28`).
105
89
 
106
90
  ### New Architecture
107
91
 
@@ -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.3"
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.3",
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",