a3 icon indicating copy to clipboard operation
a3 copied to clipboard

Notifications lost on backgrounded App if on the target chat screen?

Open gnunicorn opened this issue 5 months ago • 0 comments

I have another hypothesis what might be causing some of the notification lost (from our end) as I just noticed I didn't receive the notification for this room earlier:

We have a code in the notification processing that check whether the app is currently open on that chat screen and if so we don't show the notification (not bother the user with showing the same message twice). However, we are not checking whether the App actually has focus. So, if the App is running, in Background on Android, iOS or Desktop, but the same chat view is our current route, we might not be showing the notification due to that... not realizing that the app doesn't have focus and thus we should inform the user. I'll put this into an issue and try to confirm this misbehavior ...

gnunicorn avatar Sep 04 '24 10:09 gnunicorn