Changelog
1.9.1
- Fixed crash on old IOS 16 for old iPhones
Dependency updates
- RookSDK (COCOAPODS): 1.7.7 → 1.7.8
Before running your app you MUST run pod install or pod update in your /ios directory
1.9.0
- Analytic logs were updated
- Background optimizations
- Physical summary background sync optimizations
- Background optimization in calories event
- WorkoutRoute added to activity events
- Optimization body metrics event
- Background data extraction optimization for activity events
- Added
getAuthorizedDataSourcesV2toAHRookDataSources, This is an improved version ofgetAuthorizedDataSourcesthat returns a list ofAuthorizedDataSourceV2with the name, authorization status and image URL of each data source.
Deprecated components removed
- Removed
AHRookEventManagerandAHRookSummaryManager, go to the new manual sync section to check the new way of syncing health data manually.
Dependency updates
- RookSDK (COCOAPODS): 1.7.4 → 1.7.7
Before running your app you MUST run pod install or pod update in your /ios directory
1.8.1
- Added customizable permissions, learn more in the customizing permissions section.
1.8.0
- Optimized metadata logging
- Fixed timezones with offset +/- 5:30
Dependency updates
- RookSDK (COCOAPODS): 1.7.3 → 1.7.4
Before running your app you MUST run pod install or pod update in your /ios directory
1.7.0
- Added sleep apnea extraction
- Fixed HKStatisticsCollection bug
- Fixed background sync not working on some devices
- Increased XCode version to 16
Dependency updates
- RookSDK (COCOAPODS): 1.7.0 → 1.7.3
Before running your app you MUST run pod install or pod update in your /ios directory
1.6.0
AHRookSummaryManagerandAHRookEventManagerhave been deprecated and will be replaced byAHRookSyncManager, go to the new manual sync section to check the new way of syncing health data manually.- The methods
AHRookDataSources.getAvailableDataSourcesandAHRookDataSources.presentDataSourceViewhave been deprecated, useAHRookDataSources.getDataSourceAuthorizerto get a more efficient and scalable solution, reducing unnecessary data retrieval. If you previously relied onAHRookDataSources.getAvailableDataSourcesto build your own connections page, you can change toAHRookDataSources.getAuthorizedDataSourcesto get the authorization state of each API data source however you will need to use your own assets if you want to show an image.
BREAKING CHANGES
AuthorizedDataSourcesproperties have been changed to nullable in order to show data source availability.- Added Dexcom to
AuthorizedDataSourcesproperties.
- Added Dexcom to
AHRookDataSources.revokeDataSource(DataSourceType)was replaced byrevokeDataSource(String)to allow more flexibility. Allowed values: Garmin, Oura, Polar, Fitbit, Withings, Whoop.
Dependency updates
- rook_sdk_core: 0.4.5 → 1.0.0
- RookSDK (COCOAPODS): 1.6.9 → 1.7.0
Before running your app you MUST run pod install or pod update in your /ios directory
1.5.0
- Added
getTodayCaloriesCounttoAHRookEventManagerto sync the calories count of the current day, if successful it will return theDailyCaloriesobject that was uploaded or null if the SDK could not find any calories records. For more information see the example.
Dependency updates
- RookSDK (COCOAPODS): 1.6.7 → 1.6.9
Before running your app you MUST run pod install or pod update in your /ios directory
1.4.0
- RookDataSources
- Added
getAuthorizedDataSourcestoAHRookDataSourcesto get a summary of all data sources authorized by the current user.
- Added
- Bug fixes
- Fix BMI decimal point
Dependency updates
- RookSDK (COCOAPODS): 1.6.6 → 1.6.7
Before running your app you MUST run pod install or pod update in your /ios directory
1.3.1
- Fix error response in method get available data sources when there is not internet connection
- Initialization optimization
- Background optimization
- Timezone -12 fix
- Added Vo2 max to physical summary
Dependency updates
- RookSDK (COCOAPODS): 1.6.2 → 1.6.6
- SwiftProtobuf (COCOAPODS): 1.28.1 → 1.28.2
Before running your app you MUST run pod install or pod update in your /ios directory
1.3.0
- Apple Health errors are mapped to custom Errors
- Sleep improvement for third party delay injection.
- Added
AHRookHelpers.backgroundErrorsUpdatesto get background sync errors updates, go to the Background Sync errors section to learn more. - Added
revokeDataSourcetoAHRookDataSourcesthis will allow you to disconnect a user from the providedDataSourceType.
Dependency updates
- RookSDK (COCOAPODS): 1.6.0 → 1.6.2
Before running your app you MUST run pod install or pod update in your /ios directory
1.2.3
Dependency updates
- rook_sdk_core: 0.4.0 → 0.4.3
Before running your app you MUST run pod install or pod update in your /ios directory
1.2.2
- Temperature events bug fixed
- 30 days history for first time sync
- Events background and summary background independent activation and deactivation
Dependency updates
- RookSDK (COCOAPODS): 1.5.8 → 1.6.0
Before running your app you MUST run pod install or pod update in your /ios directory
1.2.1
- Optimizations.
- Changed to Core Data for data persistence.
Dependency updates
- RookSDK (COCOAPODS): 1.5.6 → 1.5.8
- rook_sdk_core: 0.2.1 → 0.4.0
Before running your app you MUST run pod install or pod update in your /ios directory
1.2.0
- Added
enableBackgroundSynctoRookConfiguration. RookConfigurationparameters were changed to required named parameters.- When
enableBackgroundSyncis true background sync will start when initRook is called. - Added optional parameter
redirectUrltogetAvailableDataSourcesandpresentDataSourceViewinAHRookDataSourcesclass.
Dependency updates
- RookSDK (COCOAPODS): 1.5.2 → 1.5.6
Before running your app you MUST run pod install or pod update in your /ios directory
1.1.1
- Fixed bug that caused HRV not being present in Sleep Summaries.
Dependency updates
- RookSDK (COCOAPODS): 1.5.1 → 1.5.2
Before running your app you MUST run pod install or pod update in your /ios directory
1.1.0
- Breaking changes
- Removed deprecated classes
IosStepsTrackerandIosCaloriesTracker
- Removed deprecated classes
- Apple Health
- Added
AHRookEventManager.syncTodayAppleHealthStepsCountto sync the steps count of the current day, if successful it will return the number of steps taken.
- Added
- Background sync
- Added steps events to background sync, these events will be uploaded every hour (while the device is unlocked).
Dependency updates
- RookSDK (COCOAPODS): 1.4.6 → 1.5.1
- rook_sdk_core: 0.1.2 → 0.2.1
Before running your app you MUST run pod install or pod update in your /ios directory
1.0.0
- The classes
IosStepsTrackerandIosCaloriesTrackerwere deprecated becauseRookBackgroundSynchas the same and improved functionality. These deprecated classes will be removed in a future major release (0.X.0). - Breaking changes
- Removed deprecated methods
requestAllPermissions,requestSleepPermissions,requestPhysicalPermissionsandrequestBodyPermissions - All classes were converted to "static" classes, meaning that you won't need to create an instance to use its methods, also, to avoid instance creation all constructors access have been changed to private.
- Removed deprecated methods
Before running your app you MUST run pod install or pod update in your /ios directory
0.6.0
- Added NSPrivacyCollectedDataTypes declarations.
- Added new parameter
enableNativeLogstoenableContinuousUploadandenableBackground. - Parameters in
enableContinuousUploadandenableBackgroundwhere converted to named required parameters. - Removed deprecated methods
syncYesterdaySummariesandsyncYesterdayEvents - The methods
requestAllPermissions,requestSleepPermissions,requestPhysicalPermissions,requestBodyPermissionshave been deprecated in favor ofrequestPermissions. These deprecated methods will be removed in a future major release (0.X.0).
Dependency updates
- RookSDK (COCOAPODS): 1.4.5 → 1.4.6
Before running your app you MUST run pod install or pod update in your /ios directory
0.5.0
- Added
RookDataSourcesto help developers build a custom API data sources lists, more information in Data Sources - Added
presentDataSourceViewto show a pre-built connections page. - Added local logs for API requests, go to logging to see how they can be activated.
Dependency updates
- RookSDK (COCOAPODS): 1.4.4 → 1.4.5
- rook_sdk_core: 0.1.0 → 0.1.2
Before running your app you MUST run pod install or pod update in your /ios directory
0.4.4
-
Fixed weight and height not present when updating at the same time in Apple Health App.
-
RookSDK (COCOAPODS): 1.4.3 → 1.4.4
Before running your app you MUST run pod install or pod update in your /ios directory
0.4.3
-
Fixed always null active_seconds bug.
-
RookSDK (COCOAPODS): 1.3.6 → 1.4.3
Before running your app you MUST run pod install or pod update in your /ios directory
0.4.2
- Fixed bug when syncing Body Metrics Events with background
Dependency updates
- RookSDK (COCOAPODS): 1.3.4 → 1.3.6
Before running your app you MUST run pod install or pod update in your /ios directory
0.4.1
- Fixed bug when syncing Body Metrics Events
Dependency updates
- RookSDK (COCOAPODS): 1.3.3 → 1.3.4
Before running your app you MUST run pod install or pod update in your /ios directory
0.4.0
- Added events to background sync
- Deprecated
AHRookSummaryManager.syncYesterdaySummariesandAHRookEventManager.syncYesterdayEvents. - Renamed
AHRookBackgroundSync.enableBackGroundForSummariestoAHRookBackgroundSync.enableBackground - Renamed
AHRookBackgroundSync.disableBackGroundForSummariestoAHRookBackgroundSync.disableBackground - Renamed
AHRookYesterdaySync.isYesterdaySyncEnabledtoAHRookContinuousUpload.isContinuousUploadEnabled - Renamed
AHRookYesterdaySync.enableYesterdaySynctoAHRookContinuousUpload.enableContinuousUpload - Renamed
AHRookYesterdaySync.disableYesterdaySynctoAHRookContinuousUpload.disableContinuousUpload
Automatic Sync
From this version forward the AHRookContinuousUpload and AHRookBackgroundSync support events, you can see more
information on how to configure these components here
Dependency updates
- RookSDK (COCOAPODS): 1.3.0 → 1.3.3
Before running your app you MUST run pod install or pod update in your /ios directory
0.3.0
- Fixed bug that caused a crash on some devices with IOS 17+.
Dependency updates
- RookSDK (COCOAPODS): 1.2.5 → 1.3.0
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.7
- Fixed bug where cycling distance was not uploaded.
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.6
- Added
AHRookBackgroudnSyncto automatically sync summaries in background, more information in Sync health data automatically - Added Body Metrics events, you can start syncing them with
rookEventManager.syncBodyMetricsEvents. - Fixed calories rounding bug
Dependency updates
- protobuf:
>=2.0.0 <3.0.0→>=3.0.0 <4.0.0 - RookSDK (COCOAPODS): 1.1.3 → 1.2.5
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.4
- Added
getUserIDto get current saved user, more information in Update userID
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.3
- SleepSummary allows information for data sources other than Apple.
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.3
- Added
syncYesterdaySummariesandsyncYesterdayEvents.
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.2
- Fixed RookUsers bugs.
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.1
- Added
syncBloodGlucoseEvents,syncBloodPressureEventsandsyncTemperatureEventstoRookEventManager.
Before running your app you MUST run pod install or pod update in your /ios directory
0.2.0
- Added
deleteUserFromRook, this method will remove a user from both server and preferences, see Removing registered users for more information. - Added StepsTracker to extract steps from phones, more information in the Steps Tracker Documentation
- Added CaloriesTracker to extract steps from phones, more information in the Calories Tracker Documentation
- When registering a user the Apple Health data source status will be changed to active.
- When requesting permissions the Apple Health data source status will be changed to active.
- Changed all
clientPasswordinstances tosecretKey.
Before running your app you MUST run pod install or pod update in your /ios directory
0.1.0
- Added
RookEnvironmentto configure internal behaviour, see Environment for more information. - Changed
RookConfigurationconstructor parameters, see Initialize for more information.
Before running your app you MUST run pod install or pod update in your /ios directory
0.0.2
- Added Time Zone sync, see Update userID for more information.
Before running your app you MUST run pod install or pod update in your /ios directory
0.0.1
- Initial release.