mqtt_client
mqtt_client copied to clipboard
Software caused connection abort when you turn off internet.
Does anybody having the same error? or is it only me? Steps to reproduce (at least for me):
- connect to any broker first
- then turn off wifi
You don't say what platform you are on, whether you are disconnecting completely when you turn wifi off or are falling back to an alternative such as GSM, You have also not supplied a log. By the sound of it the exception you are seeing is caused by the Dart runtime you are using, in which cas all you can do is re connect manually.