Closed
Description
Which packages are you using?
stream_chat, stream_chat_persistance
On what platforms did you experience the issue?
iOS
What version are you using?
stream_chat_flutter: ^9.2.0+1
stream_chat_persistence: ^9.2.0
What happened?
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 wait for 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.
Images and video describing issue:
Header | Header |
---|---|