stream-chat-swift
stream-chat-swift copied to clipboard
Fix unsuccessful for issue 2200 (improve consistency when retrieving message after push notification)
What did you do?
We are still seeing messages fail to appear sporadically in the channel when a user enters from a notification. This is a huge problem for us and is holding up our next release. Please help us get this resolved asap.
What did you expect to happen?
All messages should appear in the channel without fail
What happened instead?
Intermittently, messages do not show in the thread
GetStream Environment
GetStream Chat version: 0.4.20 iOS version: 15.5 Swift version: Xcode version: Device: iPhone 11
Additional context
Hi @jfru,
Thanks for reaching out. Are you noticing any specific pattern when this is happening? if you notice one, please share steps to reproduce or more related info with us so we can investigate further. We will also continue analyzing internally.
Regards, Hugo
Thanks @hugobernalstream, much appreciated. I'm completely stumped about the specific repro steps. So far, I've only seen it happen in one channel. It's always the same channel and at this point 3 of the members in the channel have experienced the issue at different times.
Hi @jfru,
We've been testing this, and we've been unable to reproduce it after 4.20.0. Could you please send us a mail with the app id and the channel id to [email protected] ?
We're going to close it for now. Please reopen it if you are still having issues.
Hi @polqf Seems like this issue still actual. Seems this only happen when accessing a chat from notification received. Also messages appear after user tap one of the left over notifications.
GetStream Chat revision: "9a30f9212cc2a4ecf9f93cf0065239e6fc49d1cf"
Hi @saidReclip , Are you sure there is no connectivity issues on your side while testing? Could you please share a video?
I'm trying to repro this, but having a hard time. I don't think it was connectivity. I was using my phone and receiving message notification banners at the top of my phone. I tapped one and it entered the thread, but the messages weren't there. A few minutes later I tapped one of the remaining notifications in my notification center, which took me into the thread where about 7 or 8 missing messages from the other user in the chat all appeared at once
Hi @jfru, bear in mind that we perform an API call once the Push Notification is received to get the updates. There are several things outside our control that can affect this process. Connectivity, Low Power mode and so on.
For sure. I'm doubtful it was any of these in this instance. I had full battery and I was connected to my wifi with good connection. I was using the internet for other things at the same time as this happened, but I understand that it's hard for you to pursue with limited info. I'll keep an eye on it.