-
Notifications
You must be signed in to change notification settings - Fork 351
Open
Labels
Description
Issue
Description
We’ve observed that the GetStream library fails to reconnect automatically after a network outage lasting around 10 seconds or more. In addition, re-initializing the chat instance—by navigating back to the previous screen and then returning to the chat page—does not resolve the issue. A complete app reboot is required to restore connectivity.
Steps to Reproduce
-
Simulate Network Down:
- Disable network connectivity (e.g., via Wi‑Fi toggle).
-
Extended Network Outage:
- Keep the network offline for at least 10 seconds.
-
Restore Network Connection:
- Re-enable the network connection.
-
Observe:
- The connection fails to re-establish automatically.
- The MessageList component continues to display as if it’s connected, without indicating any disconnection or ongoing reconnection process.
-
Additional Re-Initialize Chat Instance:
- Navigate back to the previous screen and then return to the chat page to trigger chat instance re-initialization.
- A full app reboot is necessary to regain connectivity.
- The MessageList component continues to display as if it’s connected, without indicating any disconnection or ongoing reconnection.
- Navigate back to the previous screen and then return to the chat page to trigger chat instance re-initialization.
Steps to reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
etc...
Expected behavior
Project Related Information
Customization
Click To Expand
# N/A
Offline support
- I have enabled offline support.
- The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)
Environment
Click To Expand
package.json
:
# N/A
react-native info
output:
OUTPUT GOES HERE
- Platform that you're experiencing the issue on:
- iOS
- Android
- iOS but have not tested behavior on Android
- Android but have not tested behavior on iOS
- Both
stream-chat-react-native
version you're using that has this issue:e.g. 5.4.3
- Device/Emulator info:
- I am using a physical device
- OS version:
e.g. Android 10
- Device/Emulator:
e.g. iPhone 11
Additional context
Screenshots
Click To Expand
vargajacint and jessety