I am implementing a chat app using XMPP framework. Now the problem is that the app is getting killed when the app goes to sleep mode and the phone is locked after 5-10 mins. Now when I comment the XMPP code then the app is running. Could anybody help me explain why is it happening. How could I resolve the issue or what could be the cause of the same.
Asked
Active
Viewed 124 times
0
-
Do the answers to [this question](http://stackoverflow.com/q/5257580/113848) help? – legoscia Feb 23 '15 at 15:45
-
No it is still getting killed. Could you let me know why is it getting killed when it goes to sleep mode? – user1512727 Feb 23 '15 at 16:08
-
Hi,Have you you found the solution, I am facing same issue like you are facing? – Rajpal Thakur Nov 16 '16 at 05:25