About the Voip Push errors

Hello, guys! We're now developing messaging app.


Now we've met the error #1 below;


#1

Killing VoIP app <private> because it failed to post an incoming call in time.
VoIP app <private> failed to post incoming call

and we also met this error #2;


#2

VoIP push for XXXX dropped on the floor"
.


So, we've got 2 questions. Could you help us?


1. #1 error that we've met said "because it failed to post an incoming call in time." What does it mean "in time" in detail? We could not find any value of "time" in the Apple's API document. We guess there is some limitation time from "catch the VoIP Push" to "calling reportNewIncomingCall" but it isn't clear. Does anyone know the limitation time?


2. We'd think that #2 error shows up when app meets "Call Kit restriction" which the article mentioned, which the link is below.

https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry

Our understanding is correct?


Any comments are welcome. Thank you for your kindly helping us in advance!

Accepted Reply

Both of these errors are tied to the same restrictions described here:


https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry?language=objc


Error #1 is how this restriction is implemented:


"On iOS 13.0 and later, if you fail to report a call to CallKit, the system will terminate your app."


And #2 occurs when you've crossed this threshold:


"Repeatedly failing to report calls may cause the system to stop delivering any more VoIP push notifications to your app. "


The "time" requirements (related to #1) are also in the same document:


"When linking against the iOS 13 SDK or later, your implementation of this method must report notifications of type PKPushTypeVoIP to the CallKit framework by calling the reportNewIncomingCallWithUUID:update:completion: method of your app's CXProvider object."


-Kevin Elliott

DTS Engineer

CoreOS/Hardware

Replies

Both of these errors are tied to the same restrictions described here:


https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry?language=objc


Error #1 is how this restriction is implemented:


"On iOS 13.0 and later, if you fail to report a call to CallKit, the system will terminate your app."


And #2 occurs when you've crossed this threshold:


"Repeatedly failing to report calls may cause the system to stop delivering any more VoIP push notifications to your app. "


The "time" requirements (related to #1) are also in the same document:


"When linking against the iOS 13 SDK or later, your implementation of this method must report notifications of type PKPushTypeVoIP to the CallKit framework by calling the reportNewIncomingCallWithUUID:update:completion: method of your app's CXProvider object."


-Kevin Elliott

DTS Engineer

CoreOS/Hardware

Thank you for your prompt resopnse. Your information is much variable for us.

We could understand our situation clearly.


Thanks again, and have a nice day!