cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
550 stars 678 forks source link

[health 11.0.0] Missing temperature in Fitbit #1045

Open pkhivesara opened 2 months ago

pkhivesara commented 2 months ago

Remember to specify the plugin name in the title!

Device / Emulator and OS

Please complete the following information for each phone and/or emulator you're experiencing this bug on:

Describe the bug

Temperature data is missing from Fitbit while using Health Connect

Screenshots

image

Flutter doctor

Please run flutter doctor and add the output here.

Additional information

const List<HealthDataType> dataTypesAndroid = [
  HealthDataType.BLOOD_GLUCOSE,
  HealthDataType.BLOOD_PRESSURE_DIASTOLIC,
  HealthDataType.BLOOD_PRESSURE_SYSTOLIC,
  HealthDataType.BODY_TEMPERATURE,
  HealthDataType.HEART_RATE,
  HealthDataType.STEPS,
  HealthDataType.DISTANCE_DELTA,
  HealthDataType.SLEEP_ASLEEP,
  HealthDataType.SLEEP_AWAKE,
  HealthDataType.SLEEP_DEEP,
  HealthDataType.SLEEP_LIGHT,
  HealthDataType.SLEEP_REM,

The returned JSON does not have a key with type as BODY_TEMPERATURE. Running the sample app has the same issue.