Hi I am new in mobile app development. My server is sending me data via socket. I am having a problem with the socket whenever my app is going to the background, I am not getting data from the socket.
I would like to know how I can establish a socket connection which will give me the data all the time regardless of whether the app is in foreground or background.
Thanks in advance.