Releases: kilohealth/rn-fitness-tracker
Releases · kilohealth/rn-fitness-tracker
0.2.5
Added
- Data types for Activity, Lab&Test results, Vital Signs
- Method to check auth status for datatype @ healthKit
- Methods to get statistic total for week and daily data for week
Fixed
- iOS native part:
getEndOfDay
to return today 23:59:59 not 00:00:00 of next day
0.2.4
0.2.3
Fixed:
- Current day data not matching today in weekly data - today data is now parsed from same source as weekly data.
- Steps not being tracked on Android SDK >=29. Now
setupTracking()
asks forACTIVITY_RECOGNITION
permissions.
Other:
- Target & Build SDK bumped to 29
IMPORTANT!
Make sure to add ACTIVITY_RECOGNITION
permission to AndroidManifest.xml
for tracking movement in API >= 29
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
0.2.2
0.2.1
0.2.0
Added HealthKit integration
- Authorization
- Writing single data type
- Writing array of data types
- Reading absolute total for data type
- Reading statistic total for data type
- Added HealthDataTypes
- Added UnitTypes
- Added RNHealthTrackerAPI usage docs
Other improvements
- Improved usage docs for fitness tracker
- Small fitness tracker improvements on native iOS side
0.1.4
0.1.3
0.1.2
0.1.1
This is a major release
Changes include
- Simplified naming on API methods.
- Added API methods to get walking/running distance today/week/daily
- Added IOS suffix for iOS only methods.
- iOS ONLY! Added API methods to get floors climbed today/week/daily
This release features lots of breaking changes
Setup methods
-
Removed isStepTrackingAvailableAndroid and isStepTrackingAvailableIOS
-
setupStepTracking --> setupTracking
-
isStepTrackingSupported --> isTrackingSupportedIOS
-
isStepTrackingAvailable --> isTrackingAvailable
Step tracking
- getStepCountToday --> getStepsToday
- getStepsThisWeek --> getStepsWeekTotal
- getWeeklySteps --> getStepsDaily
- getSteps --> getStepsData
New methods
Distance tracking
- getDistanceToday
- getDistanceWeekTotal
- getDistanceDaily
- getDistanceData
Floor tracking
- getFloorsTodayIOS
- getFloorsWeekTotalIOS
- getFloorsDailyIOS
- getFloorsDataIOS