With iOS14 App I am seeing frequent crashes when send in an incoming call VOIP Push.
iOS is killing the App with the message
"Killing VoIP app because it failed to post an incoming call in time"
When SDK13 arrived we changed our code so as to avoid the iOS crash "terminateAppIfThereAreUnhandledVoIPPushes".
So we always offer the call to Callkit before we return from
pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(PKPushType)type withCompletionHandler:(void (^)(void))completion
and our App has worked fine with iOS13 versions.
So is this a new error "Killing VoIP app because it failed to post an incoming call in time" ??
I attach a log file snippet.
You can see from log file attached that I was about to offer the call to Callkit just after iOS killed it. There is 19 mSec gap between Push arriving and iOS killing the App.
default 19:36:42.598051 +0100 Our App MDS DEBUG => => => => => => New Push: Payload is [142],[Davemaj XS],[],[],[0]
...
...
error 19:36:42.600513 +0100 callservicesd Killing VoIP app mds.mds.appname.us2 because it failed to post an incoming call in time.
...
...
default 19:36:42.617861 +0100 Our App MDS CALLKIT => => => => => offerIncomingCallToCallkit from caller Davemaj XS {PBX:142}
iOS is killing the App with the message
"Killing VoIP app because it failed to post an incoming call in time"
When SDK13 arrived we changed our code so as to avoid the iOS crash "terminateAppIfThereAreUnhandledVoIPPushes".
So we always offer the call to Callkit before we return from
pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(PKPushType)type withCompletionHandler:(void (^)(void))completion
and our App has worked fine with iOS13 versions.
So is this a new error "Killing VoIP app because it failed to post an incoming call in time" ??
I attach a log file snippet.
You can see from log file attached that I was about to offer the call to Callkit just after iOS killed it. There is 19 mSec gap between Push arriving and iOS killing the App.
default 19:36:42.598051 +0100 Our App MDS DEBUG => => => => => => New Push: Payload is [142],[Davemaj XS],[],[],[0]
...
...
error 19:36:42.600513 +0100 callservicesd Killing VoIP app mds.mds.appname.us2 because it failed to post an incoming call in time.
...
...
default 19:36:42.617861 +0100 Our App MDS CALLKIT => => => => => offerIncomingCallToCallkit from caller Davemaj XS {PBX:142}