android / android/health-samples
PassiveListenerCallback - continuously receiving new HR data (not passive anymore?)
- Dominant language
- Kotlin
- Stars
- 346
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Description
Hello, in the latest Galaxy Watch 4 or Watch 6 with Wear OS 4, when I register PassiveListenerCallback or use PassiveDataService, watch starts measuring instantly (green diode flashing non-stop) and right away I'm continuously receiving new Heart Rate values (every few milliseconds - yes, filtering exactly like it is done in the sample).
There is definitely something wrong regarding Health Services and latest Wear OS 4 by Samsung.
Can you guys test it? I don't think PassiveData should act like Exercise Data on Wear OS 4.
Contributor guide
Research direction
Start by reproducing the behavior on a Galaxy Watch 4 or Watch 6 running Wear OS 4, using the sample's PassiveListenerCallback or PassiveDataService. Compare the continuous Heart Rate updates and green-diode activity with the expected passive behavior and Exercise Data; done means confirming whether this is a Health Services platform issue or identifying a concrete sample problem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100