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??