CallKit :- Callkit is working but the callee doesn't get the call CallKit :- Callkit is working but the callee doesn't get the call xcode xcode

CallKit :- Callkit is working but the callee doesn't get the call


You just can't make standard native calls through CallKit. The CallKit framework, as clearly stated in the documentation, is meant to be used to develop custom VoIP applications and integrate them with the native phone interface.


Any iOS application can't make native call without user action.

An alert will be shown with phone number and two buttons will be available "Call" and "Cancel" which is presented from the OS level.

Just like we are showing popup to delete photos from Photos app.

Solution

If you want to implement SOS Application (Yes its possible using VoIP service), But you can place calls when app is active (Can be done without user action given internet connection is there.)

Note: The receiving side also should support VoIP.

How to Implement VoIP

We need permission of Voice over IP services to make calls in between iPhone devices.

VoIP app must have background mode enabled in the Xcode Project > Capabilities pane. Select the checkbox for Voice over IP

Also CallKit is indented only for VoIP Apps, If you really want to implement the VoIP follow CallKit Tutorial