socket.io-client-dart icon indicating copy to clipboard operation
socket.io-client-dart copied to clipboard

onDisconnect in IOS socket_io_client: ^1

Open m2faridi opened this issue 4 years ago • 2 comments

It notifies me after a few seconds when I turn off the internet socket.onDisconnect((data) { print('onDisconnect'); }); good in android device

m2faridi avatar May 07 '21 19:05 m2faridi

Is there a way to get better?

m2faridi avatar May 13 '21 12:05 m2faridi

Pub get not able to install package. See error below:

Because no versions of socket_io_client match 1.0.1 and no versions of socket_io_client match >1.0.1 <2.0.0, socket_io_client ^1.0.1 is forbidden. So, because flutter_chat depends on socket_io_client ^1.0.1, version solving failed. pub get failed (1; So, because flutter_chat depends on socket_io_client ^1.0.1, version solving failed.)

Also I attempted to revert to an older version but null safety is a must in flutter now.

toni-21 avatar May 14 '21 19:05 toni-21