Ayagikei / LifeUp

Pure and highly customizable gamified to-do and habit-forming app.
209 stars 4 forks source link

[Bug] Countdown timers failing to post a notification #116

Open UsernamesAreNotMyThing opened 11 months ago

UsernamesAreNotMyThing commented 11 months ago

Describe the bug Using an item with a countdown timer set fails to display a notification, at least it doesn't appear immediately like it used to, but sometimes actually shows up at a later time, but I haven't quite figured that out. I've also checked my notification settings and nothing is turned off there, and Do Not Disturb is disabled as well so nothing should be hiding it if it was present.

To Reproduce Steps to reproduce the behavior:

  1. Use a shop item that has a countdown timer set on it.
  2. Notice that the expected countdown notification is absent, despite everything else behaving as if it was actually working, which it is not.

Expected behavior The notification should just appear immediately, like it did previously. I suspect this bug might have emerged after an application update, as this behavior is new.

Environments and Version (please complete the following information):

Ayagikei commented 11 months ago

Thanks for your feedback!

We will try to reproduce and track the issue first.

Currently, we are unable to reproduce this problem using Android 13 devices + v1.93.3, and notifications can be displayed as usual.

It is worth mentioning that there should be no related changes in recent versions. We suspect that this is an environmental problem on the user side.

If you are using the item interactively through the in-app UI, generally it only requires notification permissions and enabling notification channels. It is recommended to double-check whether the corresponding notification channel is enabled.

If you are using the items through the API. Since higher versions of Android limit the startup strategy of foreground services, please reconfirm whether "Ignore battery optimization" is configured based on the above. Devices from different manufacturers will be configured differently, and system updates may affect this.