voip notification not coming when the app is inactive for around 8 hours - ios

I am building a group calling app and using ionic3 for the same. I am using voIP notification when the app is in background on inactive in ios. Everything works fine and as expected. The problem I am facing is when the app is in background or inactive for around 8 hours, I do not receive the voIP notification and hence app doesn't wakes up.
i am just a beginner in iOS development so It would be a great help if anyone could help me figure out this issue.

Once you receive payload, you have to schedule local notification with sound file.
You can also debug is your app crashing in background or killed state.
About 8 hours or any hours, ideally there is no issue when your integration is perfect.
Keep whatsapp in background for 2 days, then make incoming call to that whatsapp, it will notify you.
Refer more information about VOIP integration

Related

Firebase iOS push notification receiving but sometimes not?

I have implemented push notification in my iOS App using Firebase SDK and I am successfully getting push notifications from Firebase console as well as from server.
But on many occasions, I wait and wait, and even send 5-6 notifications from Firebase console but not received on App. I tried to change network (both Mobile data & WiFi) but still not receiving. After waiting for an hour and more, suddenly it starts working (I am not re-installing App).
What may be the reason? If network is an issue, then why is it not woking though I change my network to WiFi having good bandwidth?

iOS remote notification type

Is there any apns push that can wake application up, do something in background and keep silence?
I found two solutions, but still not perfect:
Background notification. It can wakes app up in the background and gives it time to do something, but Apple doesn’t guarantee the delivery and it can't work after device is rebooted
UNNotificationServiceExtension. It can wakes app up and do something in the background, even if the device is rebooted. But, it can't be silent.
Our flow on iOS was:
Receive remote notification
Download data from server
Determine whether to notify from the content of the data
In iOS 12, our solution is PushKit, but it has some restrictions in iOS 13 now, so we have to make some changes.
Could anyone give me some advice, please? Thanks.

After upgrade to iOS 11, iOS App not receiving APNS message when in Background

After upgrading iOS device to IOS 11 Beta version, my app has stopped receiving APNS message when it is in background. It does receive the message when it is in foreground. As per the device logs, APNS messages are being delivered to the device and are available in the notification center.
Has anyone experienced this issue?
This seems to be the global thread to jump onto. Not resolved, but has to do with iOS11 throttling / no-delivery of notifications in certain circumstances. Actually a lot of circumstances.
Very painful, as we depend on the delivery of silent pushes when app is active.
Silent pushes not delivered to the app on iOS 11

XMPP Modules kill app in background

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.

iOS 8.1.2 Remote Notification Issue When App Is In The Background

I am having issues with processing push notifications in the background on iOS 8.1.2, specifically on the iPhone.
So basically, when I send a push notification to my iPad (running iOS 8.1.2), the method application:didReceiveRemoteNotification:fetchCompletionHandler: always gets called whether my app is running in the foreground or suspended in the background. However on my iPhone (also running iOS 8.1.2) the method only gets called when my app is in the foreground.
Has anyone experienced this problem before, or maybe know the solution?
FYI, my app already has the remote-notifications background mode enabled and I have added content-available = 1 to the notification payload. I am also sending the push notifications on a production environment.

Resources