question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MrninOFFcommented, Feb 11, 2022

@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.

1reaction
MrninOFFcommented, Feb 8, 2022

@thudugala Updated … Let me test it for a few days 😃 Thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found