react-native-use-websocket icon indicating copy to clipboard operation
react-native-use-websocket copied to clipboard

when my app goes idle (put phone to sleep) and i turn it back on, the websocket doesn't reconnect

Open jdkealy opened this issue 3 years ago • 1 comments

I just started using this library. I put the websocket connection in a provider. However, I put my phone to sleep and open it back up, the websocket doesn't attempt to reconnect.

jdkealy avatar Jul 20 '22 19:07 jdkealy

I just started using this library. I put the websocket connection in a provider. However, I put my phone to sleep and open it back up, the websocket doesn't attempt to reconnect.

did you manage to find a solution to it?

bimix avatar Jan 16 '24 12:01 bimix