This repository was archived by the owner on Aug 18, 2020. It is now read-only.
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Error subscribing to a room after re-connecting to internet #163
Open
Description
I'm experiencing an issue when subscribing to a room, here is the flow I'm testing
- Open the app without internet connection: Here I get the expected errors from
Chatkit.ChatManager
andChatkit.TokenProvider
. - Reconnect the app to internet: Here I turn on again the wifi in my computer so the simulator reconnects and makes a successful connection with
Chatkit.ChatManager
. - Navigate to a chat: Then I go to a chat and when it's mounted the subscription to chatkit is attempted. Here is where I'm getting the error
If I attempt to send a message or fetch older messages it's done with no problems, only the subscription is failing after that flow.
The state of a chat inside roomSubscriptions
is this (in case it helps):
Here is a link to a video showing the flow Im' describing.
Device: Any iPhone Simulator
OS: iOS 12
@pusher/chatkit-client version: 1.5.0
react-native version: 0.58.6
react version: 16.6.3