Socket.io-client-java: If you use node js and this library, this may help you

Created on 11 Nov 2020  路  2Comments  路  Source: socketio/socket.io-client-java

I had a couple of issues with setting up this library:

  1. the latest node.js socket.io has moved to version 3.0, which is not compatible with this library.
    Fix: move node.js socket.io to version 2.3.0

  2. OKhttp3 error with android socket.io 0.6.0, caused by incompatibility with Firestore
    Fix: changed to android socket.io 0.4.2 like so implementation 'com.github.nkzawa:socket.io-client:0.4.2'

  3. The library was not working with Android 9.0+
    Fix: Had to set up a https connection.

I think it would be nice to add the fact that it doesn't work with socket.io 3.0 in the documentation.

Edit: Fixed grammar and formatting

question

Most helpful comment

Version 2.0.0 is out!

The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html

All 2 comments

I added a simple pull request about the documentation problem. Hopefully one of the moderators will take. As this is a common problem I am seeing under 'issues'. https://github.com/socketio/socket.io-client-java/pull/639

Version 2.0.0 is out!

The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arora-arpit picture arora-arpit  路  3Comments

commjoen picture commjoen  路  5Comments

hova4 picture hova4  路  12Comments

NotNotMarshall picture NotNotMarshall  路  4Comments

mrgame64 picture mrgame64  路  10Comments