Steps to reproduce:
realtime.connect();
//wait for it... wait for it...
realtime.disconnect();
//wait for it... wait for it...
realtime.attach();
This gives the follow error log
Error trying to attach to channel: ErrorInfo message=Connection closed by client code=10000 statusCode=200 href=https://help.ably.io/error/10000
However, I noticed that ably-cocoa gives much more intuitive error:
2020-07-22 00:33:17.134239+0530 Runner[68127:3381242] DEBUG: (ARTRealtimeChannel.m:1193) RT:0x600001d6c4b0 C:0x600001924680 (test-channel) can't attach when not in an active state
2020-07-22 00:33:17.147149+0530 Runner[68127:3381445] flutter: Unable to attach to channel: ErrorInfo message=Can't attach when not in an active state code=null statusCode=900 href=null
Steps to reproduce:
This gives the follow error log
However, I noticed that ably-cocoa gives much more intuitive error: