I haven’t received a notification from Thunder in a few weeks. I double-checked the settings to make sure “Enable Inbox Notifications” is enabled, and it is.
Anyone else have issues with notifications recently?
I haven’t received a notification from Thunder in a few weeks. I double-checked the settings to make sure “Enable Inbox Notifications” is enabled, and it is.
Anyone else have issues with notifications recently?
Aside from everyone else’s suggestion to disable battery optimizations, which is a likely culprit, I would also suggest logging out of your account(s) and back in. Sometimes if there is stale info, the notifications will fail silently in the background.
Thanks, I’ll keep this in mind if I encounter the problem again.
Disabling battery optimizations didn’t seem to fix the issue.
What eventually seems to have fixed the problem was accidentally clearing my inbox, which had over 100+ items in it. It seems like there might be some limit somewhere which prevents further notifications if there are more than X items in the inbox.
Oh good catch! You’re absolutely right, we only look up the first 50 unread messages when we generate notifications.
https://github.com/thunder-app/thunder/blob/f02fbfa0f80c26c59d4e7a88fced8059807e6df7/lib/notification/utils/local_notifications.dart#L75
We would have to implement some paging here to retrieve all unread messages.
Tagging @[email protected] as you might be interested in this!