I am developing chat application using XMPP protocol. My development target is iOS 7.0 Every think is working fine user can able to communicate only when they are online. But I want to notify user message has come when they are offline.
I have tried iphone XMPP App run background But it doesn’t work for me.
First think it is possible or not? Using what VIOP, background fetch or some other way?
If yes please let me know. how?.
The thread you are referring mention declaring that your app is a VoIP app to be allowed to constantly run in background.
It is technically possible but has two drawbacks:
The state of the art is to fallback to Apple push notification service when the TCP connection between the client and the server is not established. This is battery efficient and provide a very good way to notify the user of new messages.