GetStream / stream-chat-flutter

Flutter Chat SDK - Build your own chat app experience using Dart, Flutter and the Stream Chat Messaging API.
https://getstream.io/chat/sdk/flutter/
Other
938 stars 342 forks source link

User doesn't see all thread replies from other user for some time #2028

Closed Mounix99 closed 6 days ago

Mounix99 commented 2 months ago

Which packages are you using?

stream_chat_flutter, stream_chat_persistance, stream_chat_localizations

On what platforms did you experience the issue?

iOS, Android, Web

What version are you using?

stream_chat_flutter: ^8.0.0 stream_chat_localizations: ^8.0.0 stream_chat_persistence: ^8.0.0

What happened?

User receives notification about thread replies, see the right count of replies, but after opening of thread some messages are missed. In some time after that messages appears

Steps to reproduce

1. Send a message to thread from one user to another very quickly. 
2. Open thread from receiver profile and see that counter and actual count of replies are not the same
3. Wait some time and reopen the thread

Supporting info to reproduce

I will attach video with the case, when there is 17 replies but shown only 11, other messages are missed, (they wasn't deleted) https://github.com/user-attachments/assets/21947df7-0832-455f-a4be-ae6c6ae7c87d

Relevant log output

No response

Flutter analyze output

No issues found! (ran in 11.5s)

Flutter doctor output

[✓] Flutter (Channel stable, 3.24.2, on macOS 14.3.1 23D60 darwin-arm64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] Connected device (4 available)            
    ! Error: Browsing on the local area network for Sidekick (2). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

Code of Conduct

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 20 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 20 days with no activity.

github-actions[bot] commented 6 days ago

This issue was closed because it has been inactive for 7 days since being marked as stale.