App does not receive VOIP in x time on iOS 10.3>
I have a project I am working on that uses VOIP notifications to "wake up" applications that have been placed in the background / finished. These notifications are sent periodically and everything seemed to be working fine until recent iOS updates.
It looks like after a while when the app was in the background (this happens to some users after 5 minutes, others after 20), the devices no longer process any code after receiving voip notifications.
I've read a bit in the apple dev forums and some other devs are facing similar issues, everyone is guessing if it's related to new iOS updates (10.3.1 / 10.3.2).
Does anyone else have this problem, and if so, can you solve it?
Thank!
source to share
You can try debugging your app in the background or in a kill state (state completed) so you can see if the payload is coming from pushkit or not, or maybe a crash at the end of the iOS code.
Debug Submission in Completed State Notification
- Put a debug pointer to delegate methods
- Go to editing scheme
- Select the run option, then Launch -> Wait for the executable to run.
- Send payload push kit from the back
- Once you get the payload on the device
- it will automatically invoke and debug the pointer it will invoke in the delegate methods.
source to share