Reputation: 33
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.
Upvotes: 2
Views: 979
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