Previously, certain workout types such as RUNNING on Apple HealthKit was broken down into several counterpart types on Google Fit, namely RUNNING_JOGGING, RUNNING_SAND and RUNNING_TREADMILL, and as such the health plugin would simply store these 3 types as RUNNING on iOS for consistency.
This PR extends this concept to other workouts where the same concept is applicable, such as:
SWIMMING_OPEN_WATER and SWIMMING_POOL on Android are stored as SWIMMING on iOS
WHEELCHAIR_RUN_PACE and WHEELCHAIR_WALK_PACE on iOS are stored as WHEELCHAIR on Android
CARDIO_DANCE and SOCIAL_DANCE on iOS are stored as DANCING on Android
CROSS_COUNTRY_SKIING and DOWNHILL_SKIING on iOS are stored as SKIING on Android
TRADITIONAL_STRENGTH_TRAINING and FUNCTIONAL_STRENGTH_TRAINING on iOS are stored as STRENGTH_TRAINING on Android
SURFING_SPORTS on iOS has been removed in favor of the SURFING name on Android
RUNING_TREADMILL on Android will be stored as RUNNING on iOS
Previously, certain workout types such as
RUNNING
on Apple HealthKit was broken down into several counterpart types on Google Fit, namelyRUNNING_JOGGING
,RUNNING_SAND
andRUNNING_TREADMILL
, and as such thehealth
plugin would simply store these 3 types asRUNNING
on iOS for consistency.This PR extends this concept to other workouts where the same concept is applicable, such as:
SWIMMING_OPEN_WATER
andSWIMMING_POOL
on Android are stored asSWIMMING
on iOSWHEELCHAIR_RUN_PACE
andWHEELCHAIR_WALK_PACE
on iOS are stored asWHEELCHAIR
on AndroidCARDIO_DANCE
andSOCIAL_DANCE
on iOS are stored asDANCING
on AndroidCROSS_COUNTRY_SKIING
andDOWNHILL_SKIING
on iOS are stored asSKIING
on AndroidTRADITIONAL_STRENGTH_TRAINING
andFUNCTIONAL_STRENGTH_TRAINING
on iOS are stored asSTRENGTH_TRAINING
on AndroidSURFING_SPORTS
on iOS has been removed in favor of theSURFING
name on AndroidRUNING_TREADMILL
on Android will be stored asRUNNING
on iOS