I’m working on an iOS app that uses CallKit for VoIP calls, and I’m stuck on one piece of the system— initiating calls from the native Phone app’s Recents list.
I’ve set up my app using the SpeakerBox sample app as an example, but when I go to a recent call in the Recents list of the native Phone app, and press the callback button, my app gets launched and nothing more happens. Breakpoints and logging show that none of the AppDelegate
functions that handle startCallHandle
s are called at all. (Those are application(_:open:options:)
and application(_:continue:restorationHandler:)
)
This got me thinking that I should see if the system works in SpeakerBox
, and sure enough, same thing happens. So either I’m doing something wrong, or Apple’s sample code doesn’t work either.
I checked both SpeakerBox
and my app against this answer about recent calls, and the only difference I could see was that they didn’t include NSUserActivityTypes
in the info.plist, so I added INStartCallIntent
to that, but still no luck. I also tried running the IntentsExtension from Xcode, and same result.
I’ve tried this on an iPhone XR running 17.5.1, and an iPhone 15 running 18.0.
So what is going wrong here? Does INStartCallIntent
not work when running the app in debug mode? Or is something else missing? Any help would be much appreciated. Thanks!