this post was submitted on 22 Sep 2024
14 points (100.0% liked)

Thunder App

2885 readers
1 users here now

An open-source, cross-platform Lemmy client for iOS and Android.

This community is intended to discuss features and feature suggestions for Thunder; as well as friendly, respectful talks about Lemmy in general.

Please use the GitHub repository linked below to submit bug reports, so keeping track of them is easier, and make sure to search first if you already can find an issue for your report.

If there are any developers who would like to contribute, feel free to reach out on GitHub!

General Links
Website: Link
GitHub Repository: Link
Matrix Space: Link

Android Releases
IzzyOnDroid: Link
Google Play: Link

iOS Releases
Apple App Store: Link
TestFlight Beta: Link

Related Communities
Nightly Community: Link

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] micahmo 3 points 2 months ago (2 children)

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.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] micahmo 2 points 2 months ago* (last edited 2 months ago)

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!