Skip to main content

CHANGELOG

4.1.1

Features

  • Added the missing Android special-permission helpers to RookPermissions: checkExactAlarmPermissions, requestExactAlarmPermissions, checkBatteryOptimizationsDisabled, requestDisableBatteryOptimizations, requiresOemAutoStartSetup, and openOemAutoStartSetup.
  • Added the native Android bridge implementations for exact alarm access, battery optimization exemption, and OEM auto-start setup flows.

Improvements

  • Completed the Android permission surface so the Capacitor wrapper matches the available ROOK Android permission manager capabilities.
  • Updated the package version from 4.1.0 to 4.1.1.

4.1.0

Features

  • Added the new Android-only RookStepsCounter module with: isRookStepsCounterAvailable, isRookStepsCounterActive, enableRookStepsCounter, disableRookStepsCounter, and getRookTodayStepsCount.
  • Added ecg to the supported EventType values.
  • Added new Apple Health permission types: stairAscentSpeed, cyclingPower, cyclingSpeed, waterTemperature, estimatedWorkoutEffortScore, physicalEffort, and workoutEffortScore.
  • Added new Samsung Health permission types: SLEEP_APNEA and BODY_TEMPERATURE.

Improvements

  • Updated native dependencies to RookSDK 4.1.0 on iOS and com.rookmotion.android:rook-sdk:4.1.0 / io.tryrook.android:rook-sdk-samsung:4.1.0 on Android.
  • Added Android compileSdkExtension 19 support.
  • Marked legacy step-counter helpers in RookHealthConnect as deprecated in favor of RookStepsCounter.
  • Adjusted the iOS data-source authorization mapping to keep the returned source field aligned with the Capacitor response model.
  • Updated the package version from 4.0.0 to 4.1.0.

4.0.0

Breaking changes

  • Updated the Capacitor package version from 1.0.1 to 4.0.0.
  • Upgraded the Capacitor toolchain to v8.
  • Updated the native ROOK SDK dependencies to RookSDK 4.0.0 on iOS and com.rookmotion.android:rook-sdk:4.0.0 on Android.
  • Android minimum SDK was raised from 26 to 29, and the Android build stack was updated to Kotlin 2.1.21, Android Gradle Plugin 8.9.3, and compileSdk/targetSdk 36.
  • InitRookProps.password was replaced with InitRookProps.secret.
  • InitRookProps.bundleId and InitRookProps.packageName were added for custom native identifiers.
  • RookConfig.clearUserId was removed from the Capacitor surface.
  • RookConfig.revokeDataSource was moved to RookDataSource.revokeDataSource.
  • Deprecated data-source methods getAvailableDataSources and presentDataSourceView were removed from RookDataSource.
  • RookDataSource.getAuthorizedDataSources was replaced by RookDataSource.getDataSourcesAuthorized.
  • RookHealthConnect.scheduleYesterdaySync was replaced by enableHealthConnectBackGround / disableHealthConnectBackGround.
  • Legacy event-specific sync methods in RookEvents were removed in favor of syncEvents.

Features

  • Added RookConfig.getDiagnostic to expose native SDK diagnostic state.
  • Added Apple Health continuous sync helpers to RookAppleHealth: enableAppleHealthSync, disableAppleHealthSync, and isAppleHealthSyncEnable.
  • Added RookEvents.getTodayHeartRate.
  • Added RookEvents.writeNutritionEvent and the nutrition event type definitions.
  • Added requestDietaryWritePermissions to RookPermissions.
  • Added optional userId support to data-source authorization and revocation flows.
  • Added support for newer heart-rate mappings and native diagnostic mappers on iOS and Android.

Improvements

  • Refactored Android and iOS native bridges to align with the ROOK SDK 4.x APIs.
  • Updated data-source response models to the newer authorization flow naming: imageUrl and authorizationUrl.
  • Updated the example app to cover the new nutrition flow and refreshed permission/data-source usage.
  • Expanded tests and generated coverage artifacts for the refactored module surface.

1.0.0 - LTS (Long Term Support)

It will continue to receive bug fixes, security patches, and maintenance updates until May, 2026.

Features

Functions to fetch local data source form apple health, samsung health and health connect were added.

iOS

  • Nutrition events have been added

This events will sync automatically in background, if the permissions were granted

What this means

  • Guaranteed long-term stability for existing integrations.
  • Continued critical updates and security maintenance.
  • Ideal for production environments requiring predictable and reliable support.

0.5.0

Android

  • Migrated to 16KB page size
  • Samsung sdk has been added

0.4.9

iOS & Android

feat: Native dependencies have been updated

0.4.7

iOS

feat: partial permissions added

Changelog

0.4.6

Android

  • isBackGroundUpdatesEnable method has been added to check the current state of health connect background sync.

0.4.5

iOS

  • fix for time zones with offset minutes was added

Android

  • feat: Health Connect Background has been added

0.4.4-rc.1

iOS Android

  • the issue that did not allow to revoke some data sources in the method revoke data source was fixed

0.4.3-rc.2

iOS

  • background optimizations

0.4.2

iOS Android

  • Refactor RookSummaries
  • syncSleepSummary, syncBodySummary, syncPhysicalSummary and syncSummaries have been deprecated instead use sync
  • Refactor RookEvents
  • syncPhysicalEvents, syncBloodGlucoseEvents, syncBloodPressureEvents, syncBodyMetricsEvents, syncBodyHeartRateEvents, syncPhysicalHeartRateEvents, syncHydrationEvents, syncNutritionEvents syncBodyOxygenationEvents, syncPhysicalOxygenationEvents and syncTemperatureEvents have been deprecated instead use syncEvents or syncEvent
  • The functions: getAvailableDataSources presentDataSourceView in DataSourcesManager have been deprecated, instead user getAuthorizedDataSources and getDataSourceAuthorizer to get a more efficient and scalable solution, reducing unnecessary data retrieval

0.4.1

Bug Fix iOS

  • Internal optimization to avoid dealloc issues

0.4.0

iOS & Android

  • Features:
    • Calories event added, getTodayCalories function added in RookEvents

0.3.3

iOS

  • Bugfixes:
  • Vo2 max added to physical summary

0.3.2

Android

  • Customizable permissions on Android

    • Now the permissions that you remove from the AndroidManifest will affect the behavior of requesting/checking permissions functions, allowing you to discard permissions that you don't need.
    • useRookPermissions().hasHealthConnectPermissionsPartially check if at least one permission was granted.
    • The broadcast channel also notifies (ROOK_HEALTH_CONNECT_PERMISSIONS_PARTIALLY_GRANTED) if at least one permission was granted.
  • BREAKING CHANGES:

    • Response of checkAvailability change from INSTALED to INSTALLED

iOS

0.3.1

Android

  • Improvements
    • Improved sleep summary extraction to prevent bad Samsung Health behaviour.
  • Bugfixes
    • Added a proguard rule to avoid obfuscation of RookStepsManager.Companion.
    • Fixed error when trying to delete a user that no longer exists using RookConfiguration.deleteUserFromRook, in this case the function will return success.
    • Fixed preferences being restored by Google backup.
  • Secure storage
    • Now you can set the file name and password of the storage that this SDK will use to save sensitive information, read more about this in the security section of the documentation. Please note that this is an optional configuration the SDK will use a default file name and auto-generate a password if you don't set one.

0.3.0

Android

Features

  • checkAvailability method added to RookHealthConnect

iOS

Bug Fix

  • Temperature events bug fixed

Features

  • 30 days history for first time sync
  • Events background and summary background independent activation and deactivation

Breaking changes

  • enableEventsBackgroundSync parameter was added in initRook method

0.2.8

  • Optimizations
    • Core data persistence

0.2.7

  • Bugfixes
  • Typo Error description fixed

0.2.6

  • Optimizations
    • Background error tracking
    • dependencies updated
    • Android and iOS Steps tracking will be enable, when enableBackgroundSync parameter is set true.

0.2.5

  • Breaking changes

    • enable back ground sync option was added in configuration parameters
  • Optimizations

    • RookDataSources object was added.

0.2.4

  • Optimizations
    • Step events feature added for iOS and Android