We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b65869 commit 0bd5356Copy full SHA for 0bd5356
src/main/java/com/pusher/client/connection/websocket/WebSocketClientWrapper.java
@@ -94,5 +94,10 @@ public void removeWebSocketListener() {
94
@Override
95
protected void onSetSSLParameters(SSLParameters sslParameters) {
96
// https://github.com/TooTallNate/Java-WebSocket/wiki/No-such-method-error-setEndpointIdentificationAlgorithm
97
+ try {
98
+ super.onSetSSLParameters(sslParameters);
99
+ } catch (NoSuchMethodError error) {
100
+ // if this is being called on an android device pre-24 this api isn't available
101
+ }
102
}
103
0 commit comments