Hi i m using ejabberd server.. i m facing problem in receiving messages when my app is in background.. i m using ping manager for making connection.. but it is not working when app is in background or close. is there any solution for it
They use push notifications. Special external server sends these notifications to their apps, so they could show the messages even while the socket connections are asleep.