nyxkn / meditation

Essential meditation timer for Android
GNU General Public License v3.0
27 stars 2 forks source link

Notification times have been incorrect since I updated to 1.4.2 #10

Open patrick-nicholson opened 4 months ago

patrick-nicholson commented 4 months ago

Affects both interval notifications and end notification.

  1. Opening notification (even with delay) works correctly
  2. Interval notifications will be missed (i.e., no chime at the minute mark) or appear at the wrong time (e.g., chimes at mm:35 instead of mm:00) or wrong intervals (e.g., chimes again at the wrong time 10s later instead of 60s).
  3. End notification is missed. Timer continues counting down to negative remainder.

Remediations tried:

Android 12 (OxygenOS) Meditation 1.4.2 (1603)

nyxkn commented 4 months ago

Hi! Thanks for the feedback.

You tried reinstalling the app which should already fix issues with notification channels being registered correctly, but just to make sure, are all the notifications enabled in the system settings for the app?

In a page that looks like this:

Screenshot_20240415-093711_x540

And if they are not, uninstalling and reinstalling the app and accepting the initial prompts for enabling notifications should reset it to the correct state.

Also, if you leave the app open in the foreground with the "keep screen on" option, do you still not get the notifications? Or does the issue only appear when the app is moved to the background or screen is turned off?

patrick-nicholson commented 4 months ago

Thanks for your reply.

  1. All timer permissions are correct (see below)
  2. All battery optimizations are disabled (see below)
  3. Screen lock and DND are enabled (see below). I have tried with these enabled and disabled.

Upon reflection, this may not be a new issue. I realized it was happening because of some random really short intervals (e.g., 15 seconds apart). I know the first time I noticed wasn't the first use after update. The issue might be long-standing and I didn't notice because (a) I didn't get any random short intervals and (b) I was meditating and not counting the time passing.

  1. timer
  2. battery
  3. dnd
nyxkn commented 4 months ago

Thanks! I'll try looking into this a bit more.