chinloyal / pusher_client

A Pusher Channels Client for Fluttter (Fully supports Android and iOS)
https://pusher.com/channels
MIT License
43 stars 181 forks source link

ConnectionEventListener null safety issue #5

Closed spiritinlife closed 3 years ago

spiritinlife commented 3 years ago

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.

chinloyal commented 3 years ago

I'll include this in the next minor release