Open
Description
Steps to reproduce
Open the app, put the app in the background (e.g. switch to another app or lock the sreen), return to the app. Sometimes Pusher will reconnect in this scenario, but eventually the app will come into the foreground and Pusher will not reconnect. The user will have to force quit/relaunch the app to restore the connection.
Expected behavior
Pusher reconnects/resubscribes to channels every time the app is moved from background to foreground.
Actual behavior
The app is brought back into the foreground but Pusher stays in the "disconnected" state (according to the debug console).
I have attempted to play around with the maxReconnectGapInSeconds
and reconnectAttemptsMax
settings on the PusherConnection object but am still seeing the same outcome.
...