CorvetteCole / GotoSleep

An Android app that helps you manage a healthy sleep schedule. Licensed under the GPLv3 license
GNU General Public License v3.0
63 stars 9 forks source link

Notifications not firing reliably #11

Open aharish opened 5 years ago

aharish commented 5 years ago

Notifications sometimes don't fire on time, and sometimes don't fire at all when the app has been force closed.

I suggest we move to using OneTimeWorkRequest from Android Architecture Components' WorkManager. I will submit a PR shortly with this implemented.

CorvetteCole commented 5 years ago

merged PR to new branch "notifications-rewrite" until ready for primetime

zecamigo commented 5 years ago

Related issue. It doesn't seem to fire when I'm not using the phone at bedtime and later use the phone. It seems to assume I'll be sleeping and won't check for activity.