DEV Community


Discussion on: Creating a realtime chat app with android , NodeJs and

hodor profile image
Kunal Rai

How will the socket.on listener work if the chat activity is not open ? I want the listener to run in the background all the time so whenever the new message is sent , it updates the Ui even if i am not using the app