Status Update
Comments
da...@google.com <da...@google.com> #2
I'm not sure how to edit the description. But forgot to add that this will work when the app is in the foreground. It just doesn't work when you lock your device. I test this by moving the app to the background and then locking my device and checking the logs in Android Studio.
ma...@gmail.com <ma...@gmail.com> #3
It would be great if you could prioritize a fix for this issue. Additionally, if there are any alternative ways we can address this from our side, please let us know. Thank you!
vi...@gmail.com <vi...@gmail.com> #4
We also experienced issues with the new version 2.10.0. In our app a Job that is launched at start of the app is triggered and then immediatly cancelled because constraints are not meet anymore. I tried everything from putting it as a foreground job removing all constraints on the job but the behavior stay the same. I will rollback to 2.9.1 until it's fixed. You will find attached some logs of the WM in our app, take a look at job fec664f7-e40c-4df1-baca-3cbc7e1b1ff9.
Description
Version used: 2.9.1
Devices/Android versions reproduced on: Oukitel C31 Android 12
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
I'm trying to develop a simple android app (jetpack compose + kotlin) for daily therapy monitoring. User sets some things to do at some hour in the day (take a pill, blood pressure measuring...), which are saved in a Room database. I would like that app check every 30 minutes if there is an incoming therapy to do in next 30 minutes, showing a notification in that case. I thought that WorkManager was the best way to do this, since I want that app could send notification even if not active, but through a log file I can see that workmanager stops trigger after a while. I think I understood that battery savaving and doze are involved in workmanager triggering, but I do not understand how to achieve the desired behaviour
Thank for your attention
Marco Chiesi