When an app is in background and the system terminates the connection (on iOS/simulator after about ~30 secs), launching the app again raises an exception
flutter: 2020-11-01 23:43:52.584295 FINE phoenix_socket.socket - [phoenix_socket] Heartbeat completed
...somewhere inbetween the connection terminates
flutter: 2020-11-01 23:46:38.254694 INFO phoenix_socket.socket - Socket closed with reason and code 1000
flutter: 2020-11-01 23:46:38.258508 FINE phoenix_socket.socket - Trigger channel exceptions on 1 channels
flutter: 2020-11-01 23:46:38.259269 FINE phoenix_socket.channel.user - Receiving error on channel
### PhoenixException: PhoenixException: socket closed
flutter: 2020-11-01 23:46:38.260450 WARNING phoenix_socket.channel.user - Got error on channel
### PhoenixException: PhoenixException: socket closed
When an app is in background and the system terminates the connection (on iOS/simulator after about ~30 secs), launching the app again raises an exception
Call stack: