this post was submitted on 25 Nov 2023
6 points (100.0% liked)

Arctic

355 readers
2 users here now

Arctic is a Lemmy client for iOS built on pure Swift. It currently supports iOS 15+ and Lemmy v0.17+

Get the latest version on TestFlight, or check it out on the AppStore.

If you would like to support Arctic’s development, feel free to Buy Me A Coffee

founded 1 year ago
MODERATORS
 

I have a red circle with a “1” for a notification on the home screen, but I don’t have any unread messages. Any idea what’s causing it or how to correct it?

EDIT: I have 3 accounts added, but I’ve checked all 3, and there’s no unread on any of them.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 11 months ago (1 children)

Thanks for pointing this out. It turns out this is actually a bug in the notification server. The server is not sending updates if the unread count is zero, I accidentally introduced this in an update the other day.

This will be a quick fix, as I’ve already identified the issue. I will update the server this evening and the issue should automatically resolve itself for you. I’m at work right now, but I’ll roll a fix out as soon as I get home.

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

That is awesome! I'm glad that it's an easy fix. THANK YOU!

[–] [email protected] 2 points 11 months ago (2 children)

This should be resolved now. Let me know if it is still not working properly for you.

I also resolved an issue where an incorrect badge count would be displayed when you have unread messages on multiple accounts.

If you received any duplicate notifications, that’s to be expected from reloading the server. I think I have that fixed for future updates though.

[–] [email protected] 1 points 11 months ago (2 children)

Correction, the phantom notification seems to be gone now. Thanks again!

[–] [email protected] 1 points 11 months ago

That’s good. I’m still looking into this though, because that should have updated a lot quicker than that.

[–] [email protected] 1 points 11 months ago (1 children)

I went ahead and rewrote the badge notifications on the server. It will only send updates when needed now, and it should behave better with multiple accounts. It also sends periodic updates in case an case of a failure to receive a notification on the device. I also have an update for Arctic coming soon that will locally update the badge whenever you change the notification settings.

Hopefully that resolves these issues, please let me know if you encounter anymore issues.

[–] [email protected] 2 points 11 months ago

Thanks for the work!

[–] [email protected] 1 points 11 months ago

It's still showing one notification for me, but I don't have any unread messages. I tried to force quitting and restarting, but no change.