Closed
Description
Bug report
Describe the bug
I've just migrated to RealtimeV2, and it does not seem to handle disconnects.
On V1, when disconnecting the device from the internet, I would immediately get the "socket closed" messages, and it would reconnect as soon as the connection was back.
On V2, the socked closed message shows up much later, and it doesn't reconnect at all when the device is connected again.
Is there any additional steps I need to take? It seems strange as it worked on the previous version, and it's a fairly common need in real usage scenarios.
To Reproduce
Just connect to realtime database changes, and set the device to airplane mode (or turn off the internet otherwise).
System information
- Version of supabase-swift: 2.3.1