Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: asmack SSL connection issue on Android 5.0

$
0
0

Hi,

 

I found a possible solution for this, in the your DummySSLSocketFactory:

 

public Socket createSocket(String s, int i) throws IOException {

    SSLSocket socket = (SSLSocket)factory.createSocket(s, i);

    socket.setEnabledCipherSuites(socket.getSupportedCipherSuites());

    return socket;

}

 

Not sure is this relative to: Android 5.0 Changes | Android Developers

 

Thanks.

Johnny


Viewing all articles
Browse latest Browse all 12000

Trending Articles