With the last update, version 5.3.0, I'm getting this error after the client is disconnected:
I/flutter ( 5421): Connection status is disconnected with return code solicited - (I print the status on the function onDisconnected)
E/flutter ( 5421): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
E/flutter ( 5421): NoSuchMethodError: The getter 'published' was called on null.
E/flutter ( 5421): Receiver: null
E/flutter ( 5421): Tried calling: published
With the last update, version 5.3.0, I'm getting this error after the client is disconnected:
The stack trace refers to this line: https://github.com/shamblett/mqtt_client/blob/aebd4601dc4e9e130d03e597cb6ff48c1bd19041/lib/src/mqtt_client.dart#L289
which was introduced in this recent commit: https://github.com/shamblett/mqtt_client/commit/aebd4601dc4e9e130d03e597cb6ff48c1bd1904