I am working on XMPP. I want to get a notification in the background. And I also implement this,
- (void)xmppStream:(XMPPStream *)sender socketWillConnect:(GCDAsyncSocket *)socket {
in my code, I set the VOIP flag in the background of the application plist file. In this mode, my application can fully run in the background. But the apple rejects this path.
So. I think APNS (Push Notification) is another way, but in my application there are huge chat users, how can I handle the mess using Push Notification?
And one more thing, can I set the quiet sound in the background and set the background mode? so any problem or problem with the replica on the apple side?
So give me the right idea and suggestion for this question.
Thanks x in Advance.
source share