iOS 13 VoIP push notification – didReceiveIncomingPushWith not getting called when the application is terminated

I am implementing a VoIP calling functionality in an iOS application. In the following method, I am immediately reporting an incoming call with CallKit:

func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void)

When the application is in the foreground or background, this method gets triggered and the call gets reported perfectly. However, when the application is terminated, this method does not get called at all.

If I run the application from XCode with the “Launch: Wait for the execurable to be launched” option added in the scheme, I can see, that something gets run when the VoIP push arrives, but not that method. Instead, I get a couple of seconds later the following message in the console: Message from debugger: Terminated due to signal 9

Any help/idea/input is very much appreciated.

Download script fix [LINK]
Download script fix [LINK 2]
Download script fix [LINK 2]
Vice Professor Asked on May 25, 2020 in centos.
Add Comment
1 Answer(s)

Did you ever get this figured out?  I’m running into the exact same thing

Download the fix file
Default Answered on January 28, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.