Before the upgrade, everything worked without a problem.
After the upgrade, scheduled notifications stopped working, if the device is restarted before the notification is shown.
This bug only happened to me on android 11 (Xiaomi), on android 14 (Xiaomi), this works fine. Scheduled notifications in foreground or closed app state work as expected on android 11.
My problem is quite similar to this one: https://github.com/MaikuB/flutter_local_notifications/issues/2209
I upgraded this package from 14.1.5 to 17.2.2.
Before the upgrade, everything worked without a problem.
After the upgrade, scheduled notifications stopped working, if the device is restarted before the notification is shown.
This bug only happened to me on android 11 (Xiaomi), on android 14 (Xiaomi), this works fine. Scheduled notifications in foreground or closed app state work as expected on android 11.
I tested this on a physical device.
The setup of my AndroidManifest.xml is like this:
Power saving mode is turned off for the app.
Any ideas what I am doing wrong?