Notification stucked in PendingNotificationList when Device is in Doze mode
See original GitHub issue[Propably only Android related issue (Tested on S21, Android 12)]
Hello,
I have tested many scenarios and I came to conclusion. If I set :
Schedule = { NotifyTime = ..... }
And the NotifyTime will be a time, when Device is in Doze mode. Than the notification get “stucked” at PendingNotificationList.
…
Solution would be, if Plugin.LocalNotification automatically check PendingNotificationList after the device leave Doze mode. Than Show all notifications where NotifyTime <= Datetime.Now immediately.
…
Do u have a “best practise” piece of code to share. If any1 already “fixed” that issue ?
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Android Notifications triggered by Alarm Manager not ...
An example where the notification is not firing occurs when for example a user sets the reminder to sometime in the middle of...
Read more >FCM notifications not received on android when device is ...
Install an Expo standalone app on the emulator by dragging and dropping the apk file onto the device, ensure notification permissions are turned ......
Read more >Optimize for Doze and App Standby
For time sensitive, user-visible notifications, consider using high priority messages to enable delivery in Doze mode. High priority messages ...
Read more >Android Notifications Not Showing Up? 10 Fixes You Can Try
To do that, you'll need to reboot your phone. Doing so puts an end to all background processes or services that might interfere...
Read more >Notifications not delivered, due to doze-mode?
of the delivery-attempt. Most notifications are delivered, but sometimes delivery fails. The receiving device is external and has local push ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@thudugala It looks like, its working well. No extra battery drain. I think, u can close this issue… I still have to check if those affected notifications go into OnNotificationReceived Event. I think, they do.
@thudugala Updated … Let me test it for a few days 😃 Thanks