-
Notifications
You must be signed in to change notification settings - Fork 147
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
Wear OS 4, Passive Data, Heart Rate collecting not working in background #101
Comments
@amoledwatchfaces Did you get this to work on Wear OS 4? I think I have the same issue. |
Hi, it's not really an issue. Wear OS is killing app in the background after some time of inactivity. This applies for both PassiveListenerCallback / PassiveListenerService. I though that PassiveListenerService will work like WearableListenerService so it wont be killed by system but unfortunately, it's not the case. |
@jluebbe Are you also requesting the body sensors background permission? |
I solved this problem by requesting the I was a bit confused by the linked docs, however. It states that the app should "Check if What is the point of checking (and requesting) the |
From my experience, even with BODY_SENSORS_BACKGROUND, Passive Listener Service is killed after few hours of inactivity on Wear OS 4. Callback is killed right after app is closed. |
Background Heart Rate collection is not working on Wear OS 4. Tried with own app (PassiveListenerCallback) but also with PassiveData sample (PassiveDataService.kt)
The text was updated successfully, but these errors were encountered: