Skip to content

Releases: kilohealth/rn-fitness-tracker

0.2.5

04 Sep 13:35
c338b78
Compare
Choose a tag to compare

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

03 Sep 10:53
9b08395
Compare
Choose a tag to compare
  • Added data type - micrograms
  • Fix: getStatisticTotalForToday dataType not being passed
  • Fix: getStatisticTotalForToday promise not resolving on zero quantity

0.2.3

24 Aug 13:10
2d00269
Compare
Choose a tag to compare

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 for ACTIVITY_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

18 Aug 14:07
10d524b
Compare
Choose a tag to compare
  • Fix distance & step data being formated using UTC timezone in other timezones on android
  • Fix milliseconds causing bad calculations on android

0.2.1

12 Aug 13:46
f932c9e
Compare
Choose a tag to compare
  • Added ability to authorize workouts read/write to HealthKit
  • Added ability to record workouts to HealthKit

0.2.0

12 Aug 10:01
fa98fa0
Compare
Choose a tag to compare

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

21 Jul 13:32
95be730
Compare
Choose a tag to compare
  • Podspec cleanup: removed unnecessary dependencies
  • Bumped up s.platform to iOS 9
  • Dropped support for iOS 8

0.1.3

19 Jun 13:13
Compare
Choose a tag to compare
  • Use promises instead of callbacks in native bridge.
  • Reject promises on errors.
  • Code formatting.
  • Return mock data on iOS simulator on all getSteps, getDistance and getFloors calls.
  • Other small improvements

0.1.2

03 Jun 08:05
239dbc0
Compare
Choose a tag to compare
  • Moved .podspecfile to root directory

0.1.1

03 Jun 07:38
6791dda
Compare
Choose a tag to compare

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