You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New messages (sometimes) aren't being rendered after reconnection events. We've looked into this on our side a fair bit and added some logging to check this wasn't a connection issue, and we can see connection:onmessage() - onmessage callback logs, but the message list component doesn't show them.
Steps to reproduce
Steps to reproduce the behavior:
This doesn't happen consistently, but we were able to reproduce by
Creating a channel with two members
Opening the channel on two devices
Turning off mobile data on device A
Sending some messages from device B
Turning mobile data on device A back on, while simultaneously sending a message from device B.
Send more messages from device B
Occasionally, the messages sent from device B while device A was offline, as well as after it was back online, are never shown, until the component is unmounted/remounted by closing the screen.
Expected behavior
Messages should be shown.
Project Related Information
Customization
Click To Expand
No custom components, but here is how we're rendering the channel:
stream-chat-react-native version you're using that has this issue:
stream-chat-react-native-core@5.19.3
Device/Emulator info:
I am using a physical device
iOS/17.0.2
Additional context
We're also seeing some connection:_errorFromWSEvent() - WS failed with code 1006/connection:_errorFromWSEvent() - WS failed with code undefined logs from our customers around the same time they were reporting this issue (the connection does seem to re-establish fine though)
Screenshots
N./A
The text was updated successfully, but these errors were encountered:
Issue
New messages (sometimes) aren't being rendered after reconnection events. We've looked into this on our side a fair bit and added some logging to check this wasn't a connection issue, and we can see
connection:onmessage() - onmessage callback
logs, but the message list component doesn't show them.Steps to reproduce
Steps to reproduce the behavior:
This doesn't happen consistently, but we were able to reproduce by
Occasionally, the messages sent from device B while device A was offline, as well as after it was back online, are never shown, until the component is unmounted/remounted by closing the screen.
Expected behavior
Messages should be shown.
Project Related Information
Customization
Click To Expand
No custom components, but here is how we're rendering the channel:
Offline support
Environment
Click To Expand
package.json
:react-native info
output:stream-chat-react-native
version you're using that has this issue:stream-chat-react-native-core@5.19.3
Additional context
We're also seeing some
connection:_errorFromWSEvent() - WS failed with code 1006
/connection:_errorFromWSEvent() - WS failed with code undefined
logs from our customers around the same time they were reporting this issue (the connection does seem to re-establish fine though)Screenshots
N./A
The text was updated successfully, but these errors were encountered: