Reputation: 187
I am implementing the socket connection for video calling and chat. I am using react-native for client and I use socket.io-client v.2.1.0 and socket.io v.2.1.1 on node server. The socket connection gets established successfully when I open the application but when I lock the phone or the phone sleeps then the socket connection gets disconnected automatically after some time.
Please help me out!
Upvotes: 1
Views: 4504