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
When sending multiple messages in offline mode using Stream Chat, not all messages are sent when the network reconnects. Some messages are lost, while others appear out of order once they are delivered. This issue occurs despite using the Stream persistence client for offline support.
Steps to reproduce
1. Open the app and go to the chat screen.
2. Turn on aeroplane mode.
3. Send multiple messages while offline.
4. Turn off aeroplane mode and waitfor messages to sync.
5. Observe that:
- Some messages are not sent at all.
- Messages that do get sent appear in a different order than they were originally sent.
Supporting info to reproduce
I have also tested the official source code of stream_chat_persistence, and I observed that the same issue persists there as well.