oliexdev / openWorkout

Simple workout trainer that puts your privacy first
GNU General Public License v3.0
124 stars 17 forks source link

Notifications don't work if app is in background #5

Closed Blue-Blue-Christmas closed 3 years ago

Blue-Blue-Christmas commented 3 years ago

I set a reminder, but noticed that the app didn't send the notification well after the time I set. It only sent the notification once I went into the app. As an experiment, I added a reminder then exited the app while keeping it open. Same thing. So it appears the app has to be running in the foreground at the time the reminder's set for in order to work.

oliexdev commented 3 years ago

Might be a bug need to test it more but if the app is in the background the time is not exact due the Android shedule system. Which Android version do you using?

Blue-Blue-Christmas commented 3 years ago

I'm using Android Version 10.

-------- Original Message -------- On Oct 21, 2020, 11:05 AM, OliE wrote:

Might be a bug need to test it more but if the app is in the background the time is not exact due the Android shedule system. Which Android version do you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

oliexdev commented 3 years ago

I tested it here in my Android version 10 and it works. Which smartphone do you have? Do you have some energy optimizer on?

Blue-Blue-Christmas commented 3 years ago

i have a Moto e. I do have battery saver on, i didn't know it would do that.

Sent from ProtonMail mobile

-------- Original Message -------- On Oct 22, 2020, 12:04 PM, OliE wrote:

I tested it here in my Android version 10 and it works. Which smartphone do you have? Do you have some energy optimizer on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Blue-Blue-Christmas commented 3 years ago

Just tried it again without the battery saver and it worked. :)

Sent from ProtonMail mobile

-------- Original Message -------- On Oct 22, 2020, 12:04 PM, OliE wrote:

I tested it here in my Android version 10 and it works. Which smartphone do you have? Do you have some energy optimizer on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

oliexdev commented 3 years ago

awesome.