CallKit terminating app after several calls

Hi,

I am struggling getting callkit/pushkit working reliably. After receiving multiple calls while app is in background and I reject them, eventually the app crashes due to SIGTERM with the code 0xbaadca11 (means CallKit is killing the app due to no notification of incoming call).

I am notifying CallKit of incoming calls and calling the proper completions. After 2 app crashes, the app no longer receives calls until it is deleted and reinstalled.

Below I have attached my test app with all the code placed in the app delegate.

What is causing this problem? Thanks


UUID

[quote='675441021, Yousifa, /thread/675441, /profile/Yousifa']

:

:

CallKit terminating app after several calls
 
 
Q