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.
Changelog
0.7.0
Optimizations
- Add the broadcast channel were you can listen for notifications about the permissions status
- Improved sleep summary extraction to prevent bad Samsung Health behavior.
requestAndroidBackgroundPermissions
andrequestPermissions
return aRequestStatusPermissions
indicating the current status of the permissions two possible valuesREQUEST_SENT
means that the views with permissions was presented andALREADY_GRANTED
means that the user already has granted the permissionsrevokeDataSource
function added intouseRookDataSources
to revoke API source- Standardized errors for apple health in functions and background, to check the error into the catch check for
error.code
anderror.message
- Broadcast channel to listen for notifications of the SDK
Deprecations
requestStepsPermissions
is deprecated and will be removedshouldSync{ROOK-Pillar}
is deprecated and will be removed, you no longer need to use this function the sync functions make this checks
0.6.2
- Include some minor fixes and some optimizations
- Updates into the native modules
0.6.0
- BREAKING CHANGE: Remove the syncYesterdaySummaries from useRookSummaries and syncYesterdayEvents from useRookEvents
- Improve the performance of the enableBackgroundSync
- Support the redirectURL on data sources
0.5.0
- Include some minor fixes and some optimizations
- Include the enableBackgroundSync to automatically start the background services
0.4.1
Include some minor fixes and some optimizations
Health Connect:
- Added
RookEventManager.syncTodayStepsCount
to sync the steps count of the current day, if successful it will return aSyncStatusWithData.Synced
object with the steps information that was uploaded orSyncStatusWithData.RecordsNotFound
if the SDK could not find any steps records.
- Added
Android steps
RookStepsManager.getTodayStepsCount
was removed.- Added
RookStepsManager.syncTodayAndroidStepsCount
to sync the steps count of the current day, if successful it will return the number of steps taken.
0.3.4
- BREAKING CHANGE: Remove the observe of steps of Android and iOS
- BREAKING CHANGE: Remove the observe of calories of iOS
0.3.3
- Add the ability to display local logs in the console for certain SDK operations.
0.3.2
- Minor fixes
0.3.1
- fixed body metrics events issues
0.3.0
- Add the ability to fetch the data sources and show a prebuilt view of the data sources
- Get the current steps and calories
0.2.6
- Fixed issue that prevents get the latest info of body metrics in events and summaries.
0.2.5
- Initial version