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
880 stars 313 forks source link

Stream Chat Core closeConnection after onForeground #1935

Open senkia24 opened 3 weeks ago

senkia24 commented 3 weeks ago

Which packages are you using?

stream_chat_flutter, stream_chat_flutter_core, stream_chat_persistance, stream_chat_localizations

On what platforms did you experience the issue?

iOS, Android

What version are you using?

stream_chat_localizations: ^7.2.1 stream_chat_flutter_core: ^7.2.1 stream_chat_persistence: ^7.2.1 stream_chat_flutter: ^7.2.1

What happened?

client.closeConnection() code running 1 minute after putting the app in the background and back into the foreground When set onBackgroundEventReceived in StreamChat.

Steps to reproduce

stream_chat_core.dart line 197. 
onTimerComplete doesnt close after foreground;

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

github-actions[bot] commented 2 days ago

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