react-native-rook-sdk 5.0.0-beta.3 → 5.0.0-beta.5

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.
@@ -79,5 +79,5 @@ dependencies {
79
79
 
80
80
  implementation("io.tryrook.android:rook-sdk-samsung:4.0.0")
81
81
  implementation 'io.tryrook.android:rook-api-sources:4.0.0'
82
- implementation 'com.rookmotion.android:rook-sdk:4.1.0-alpha02'
82
+ implementation 'com.rookmotion.android:rook-sdk:4.1.0-alpha03'
83
83
  }
@@ -566,7 +566,7 @@ class RookSdkModule(reactContext: ReactApplicationContext) :
566
566
  if (promise == null) return
567
567
 
568
568
  try {
569
- val result = rookPermissionsManager.checkAndroidPermissions()
569
+ val result = rookPermissionsManager.checkExactAlarmPermission()
570
570
  promise.resolve(result)
571
571
  } catch (it: Exception) {
572
572
  promise.reject("1001", it.message, it)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rook-sdk",
3
- "version": "5.0.0-beta.3",
3
+ "version": "5.0.0-beta.5",
4
4
  "description": "Extract health data from health connect, apple health and samsung health to transform to a RookScore",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",