amir houshmand
amir houshmand

Reputation: 33

linphone-iOS CallKit crashed in background

I am using the linphone sdk on iOS

I used PushKit to receive incoming calls and used CallKit to display calls

Callkit works properly when the app is in the foreground But when the app is completely closed, the app crashes when it receives the incoming push.

In the didReceiveIncomingPushWith method, when the push is received, I immediately call reportNewIncomingCall But it crashes in the background.

enter image description here

Upvotes: 2

Views: 979

Answers (1)

u4qr
u4qr

Reputation: 94

On iOS 13.0 and above, VoIP push notifications must be handled by call kit. Receiving a VoIP push and not handling it through call kit result in your app crashing. This behavior is intended.

Upvotes: 4

Related Questions