Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health Connect does not differentiate between manual and recorded data #15

Open
nghiaptx-2124 opened this issue Feb 6, 2025 · 1 comment

Comments

@nghiaptx-2124
Copy link

nghiaptx-2124 commented Feb 6, 2025

Issue Description

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

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).

Steps to Reproduce

  1. Open Google Fit.
  2. Input step data.
  3. Sync data from Google Fit to Health Connect.

Device

Android

Operating System

Android 14

Evidence

Image
Image

@nghiaptx-2124 nghiaptx-2124 changed the title #14 Health Connect does not differentiate between manual and recorded data # ISSUE Health Connect does not differentiate between manual and recorded data Feb 6, 2025
@nghiaptx-2124 nghiaptx-2124 changed the title # ISSUE Health Connect does not differentiate between manual and recorded data Health Connect does not differentiate between manual and recorded data Feb 6, 2025
@weichenc
Copy link
Collaborator

Hi @nghiaptx-2124 , I cannot reproduce this issue with latest version 2025.01.16.00.arm64-v8a.release of Google Fit. The recordingMethod of record manually inserted shows RECORDING_METHOD_MANUAL_ENTRY = 3.

Please update the app and let me know if the issue still occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants