[Automaker App] Phone call banner not shown

Hi community,

I'm an iOS developer developing a proof of concept for Automaker apps, and I'm trying to make a phone call with the following code:

let url = URL(string: "tel://1234567890")

But the banner is not shown in the Carplay Automaker App, if I have the same view opened in the iOS application the banner is shown and I can make the phone call...

Thanks,

David Cosialls.

Answered by Frameworks Engineer in 810296022

Hi, the way to do this is to send your tel:// URL to the CarPlay scene for your app, not to your app's main scene. This is the method to use: https://developer.apple.com/documentation/uikit/uiscene/3327319-openurl

Make sure to invoke this on the car scene provided to your app, not the main scene.

Accepted Answer

Hi, the way to do this is to send your tel:// URL to the CarPlay scene for your app, not to your app's main scene. This is the method to use: https://developer.apple.com/documentation/uikit/uiscene/3327319-openurl

Make sure to invoke this on the car scene provided to your app, not the main scene.

[Automaker App] Phone call banner not shown
 
 
Q