Skip to content

Socket.on() method is not triggered on updating data in react native chat #1252

@vishaldhanotiya

Description

@vishaldhanotiya

I have implement one to one chat using socket.io-client in react native..
I have 2 user they have messaging each other using socket.emit event. One user send message to other user but other user not get message because socket.on method is not triggering.

Socket is connected properly but i am receiving data which is send by other user??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions