ananjaser1211 / FloydQ_Reports

BUG Reporting for Exynos8890 OneUI 2.0 Project
58 stars 7 forks source link

[BUG] 3rd party apps can't access to Samsung Health sensors #193

Open endolith opened 4 years ago

endolith commented 4 years ago

Describe the bug Samsung Health 6.11.0.061 works, but Heart Rate Plus (com.dungelin.heartrate) and Heart Rate Analyzer (com.microcadsystems.serge.heartrateanalyzer) do not.

On the forum, it was explained that

regarding the 3rd party apps our old HRM driver is not compatible with how Oneui Q handles sensors, and those 3rd party apps can't see it.

To Reproduce Steps to reproduce the behavior:

  1. Install one of the above apps and try it

Expected behavior It should turn on the red LED heart rate monitor and get the values from it but it doesn't.

Screenshots Screenshot_20200913-103931_Heart Rate Plus

Smartphone (please complete the following information):

SypeR54 commented 4 years ago

Hello @endolith ,

It's a known issue as you quoted from XDA Forum of Floyd topic. However, the main functionality of health sensors of S7 working on Samsung Health and this is the what we wanted.

I tried to log why HRM not illuminated and why it can't read the HR (heart rate). On both apps, all HRM logs says illuminated finely but cant dedect any signal (finger) and HRM driver stops the scan for HR. Then the requester app shows an error like your screenshot example.

@ananjaser1211 thinking about probably our old HRM libs don't have required calls for Q and maybe that is the reason of why HRM broken on 3rd party apps. But we still don't know why its working fine on Samsung Health and why not working on 3rd party apps.

Anyway, thanks for reporting it on GitHub. We will continue to search it.

ghost commented 4 years ago

Same with Welltory app. The sensor is detected but the scanner doesn't work.