Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Cant connect to nodejs socket v4 with io.socket:socket.io-client v1 #71

@xeroxstar

Description

@xeroxstar

Hello,
A small tip:
This module wont work with nodejs socket.io server 4.0.0 by connecting with the client socket io.socket:socket.io-client: 1+, you should upgrade current socket client version to io.socket:socket.io-client:2+.

After changing the dependencies in include.gradle from:

dependencies {
    compile ('io.socket:socket.io-client:1.+') {
      exclude group: 'org.json', module: 'json'
    }
}

to:

dependencies {
    compile ('io.socket:socket.io-client:2.+') {
      exclude group: 'org.json', module: 'json'
    }
}

i could establish the connection to nodejs server. I hope it will help to community!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions