Skip to content

v1.1.1 (Fixes ConnectionEventListener null safety issue)

Compare
Choose a tag to compare
@chinloyal chinloyal released this 19 Jan 13:12
· 7 commits to master since this release

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.