Reputation: 25
We are developing a chat application like WhatsApp. It's XMPP based application, the XMPP complaint servers are follows push model for sending the messages, presence..etc.
So when user is offline the messages goes into offline stack and pushes again once user comes into online.
We want know that when app is killed , Can we use voip capabilities to run in background? or we really need go push notification model?
Please help Me .
Upvotes: 0
Views: 1219
Reputation: 770
Yes Apple will reject your app if you use VOIP Capability in chat app(WhatsApp like application) if are you trying to use in background with help of VOIP but you primary not implemented VOIP functionality then apple will reject your app i tried before this for my streaming music player.
Upvotes: 0
Reputation: 7850
You cannot add VOIP for chat application but there are other background task execution options by which you can achieve this. Modify your server side piece send notifications to the app at reasonable time intervals if user if not online and your app will get opportunity to execute in background when these notifications are delivered.
Upvotes: 2