nativescript-community / nativescript-health-data

Cross platform Health Plugin for NativeScript, using Apple HealthKit and Google Fit
Apache License 2.0
48 stars 17 forks source link

add-datatype-cardio #32

Closed sebalopezz closed 2 years ago

sebalopezz commented 5 years ago

I added the "cardio" data type, which refers to "Exercise Minutes" on iOS and "Heart Pts" on Android. Both types of data are equivalent:

iOS. Exercise Minutes

Description: Every full minute of movement equal to or exceeding the intensity of a brisk walk counts toward your daily Exercise Minutes. (Source: Apple Health App) unit: min

Android. Heart Pts

Description: You score Heart Points for doing activities at a higher pace, like taking a brisk walk. Increase the intensity to earn more points. [...] You earn one point for each minute of moderate activity, like a brisk walk that's over 100 steps per minute. [...] Each minute of vigorous activity scores you two Heart Points. (Source: Google Fit App) unit: points

cjohn001 commented 2 years ago

include in merge for 2.0.0