Changelog
Versioning definitions:
Given a version number VERSION.MAJOR.MINOR:
- VERSION: Incompatible API changes
- MAJOR: New functionality in an incompatible manner, Major bug fixes. Security fixes
- MINOR: New functionality in a backward compatible manner, Minor bug fixes, Performance improvements.
1.3.0
- Apple Health errors are mapped to custom Errors
- Sleep improvement for third party delay injection.
- Added
AHRookHelpers.backgroundErrorsUpdates
to get background sync errors updates, go to the Background Sync errors section to learn more. - Added
revokeDataSource
toAHRookDataSources
this 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
enableBackgroundSync
toRookConfiguration
. RookConfiguration
parameters were changed to required named parameters.- When
enableBackgroundSync
is true background sync will start when initRook is called. - Added optional parameter
redirectUrl
togetAvailableDataSources
andpresentDataSourceView
inAHRookDataSources
class.
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
IosStepsTracker
andIosCaloriesTracker
- Removed deprecated classes
- Apple Health
- Added
AHRookEventManager.syncTodayAppleHealthStepsCount
to 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
IosStepsTracker
andIosCaloriesTracker
were deprecated becauseRookBackgroundSync
has 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
,requestPhysicalPermissions
andrequestBodyPermissions
- 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
enableNativeLogs
toenableContinuousUpload
andenableBackground
. - Parameters in
enableContinuousUpload
andenableBackground
where converted to named required parameters. - Removed deprecated methods
syncYesterdaySummaries
andsyncYesterdayEvents
- The methods
requestAllPermissions
,requestSleepPermissions
,requestPhysicalPermissions
,requestBodyPermissions
have 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
RookDataSources
to help developers build a custom API data sources lists, more information in Data Sources - Added
presentDataSourceView
to 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.syncYesterdaySummaries
andAHRookEventManager.syncYesterdayEvents
. - Renamed
AHRookBackgroundSync.enableBackGroundForSummaries
toAHRookBackgroundSync.enableBackground
- Renamed
AHRookBackgroundSync.disableBackGroundForSummaries
toAHRookBackgroundSync.disableBackground
- Renamed
AHRookYesterdaySync.isYesterdaySyncEnabled
toAHRookContinuousUpload.isContinuousUploadEnabled
- Renamed
AHRookYesterdaySync.enableYesterdaySync
toAHRookContinuousUpload.enableContinuousUpload
- Renamed
AHRookYesterdaySync.disableYesterdaySync
toAHRookContinuousUpload.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
AHRookBackgroudnSync
to 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
getUserID
to 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
syncYesterdaySummaries
andsyncYesterdayEvents
.
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
,syncBloodPressureEvents
andsyncTemperatureEvents
toRookEventManager
.
Before running your app you MUST run pod install
or pod update
in your /ios directory
0.2.0
- Added
deleteUserFromRook
, this function 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
clientPassword
instances tosecretKey
.
Before running your app you MUST run pod install
or pod update
in your /ios directory
0.1.0
- Added
RookEnvironment
to configure internal behaviour, see Environment for more information. - Changed
RookConfiguration
constructor 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.