Skip to content

[<Health> <12.0.1>] Health does not differentiate between manual and recorded data #1128

Open
@nghiaptx-2124

Description

@nghiaptx-2124

Plugin Name

health

Plugin Version

12.0.1

Device

Android

Operating System

Android 14

Describe the bug

Issue Description

When syncing data from Google Fit to Health Connect, my app retrieves step data using getHealthDataFromTypes(). However, all step data has RecordingMethod.UNKNOWN, even though manually entered data exists in Google Fit. This makes it impossible to differentiate between manually entered and recorded step data.

Steps to Reproduce

  1. Open Google Fit.
  2. Input step data.
  3. Sync data from Google Fit to Health Connect.
Screen.Recording.2025-02-06.at.16.40.47.mov

Expected Behavior

When data is manually entered, RecordingMethod should return a specific value (e.g., MANUAL).
When data is recorded via a wearable device or app, RecordingMethod should correctly indicate the source (e.g., AUTOMATIC).

Actual Behavior

All data appears to have the same RecordingMethod, making it impossible to differentiate between manually entered and recorded data.

Flutter Logs

Screenshots

No response

Flutter Doctor Output

[✓] Flutter (Channel stable, 3.22.3, on macOS 15.1 24B83 darwin-arm64 (Rosetta), locale en-VN)
    • Flutter version 3.22.3 on channel stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (7 months ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions