Releases: chinloyal/pusher_client
v2.0.0 (Upgrade to null safety)
v1.1.3 (Fixes Binding to channel events cancels calls to onConnectionStateChange)
Whenever onConnectionStateChange
is set, then any bind
calls for events would cause the onConnectionStateChange
to stop working. This was caused by the PusherClient
class and the Channel
class both listening to separate instances of the event channel stream and the bind
call would override the initial listener set by PusherClient
. To fix this, a StreamHandler
contract was added to allow multiple classes to register their listeners and all get access to the same event channel stream.
v1.1.2 (Removed log4j dependency for android)
Removed unused log4j dependency in android platform code.
v1.1.1 (Fixes ConnectionEventListener null safety issue)
As seen here https://github.com/pusher/pusher-websocket-java/blob/master/src/main/java/com/pusher/client/connection/ConnectionEventListener.java
code and exception can be null.
This can be tested if while connected to pusher you close your internet connection. The error from the underlying websocket library has a null exception and code.
This issue was only for android.
Thanks to @spiritinlife for this PR.
v1.1.0 (No Json Serializable Dependecies)
Removed json_serializable and build_runner dependencies, this prevents conflict with projects that have to use those libraries at a specific version.
v1.0.2 (Double backslashes in the bind event breaks the JSON encoding.)
This fixes issue #1, where double backslashes in the bind event breaks the JSON encoding on android (iOS worked fine).
v1.0.1 (Fixed binding to multiple channels)
BUGFIX: Fixed not being able to bind to multiple types of channels at once.
v1.0.0 (with Encrypted Channels)
Full implementation of Pusher Client Library (with Encrypted Channels)
This is a complete Pusher Channels client library for flutter that fully supports Android and iOS with all the necessary and newest features such as having private encrypted channels. Triggering client event also works on both Android and iOS