Critical alerts on CarPlay don't open the app on tap events

Hello, I'm trying to use critical alerts on the CarPlay, but I'm facing couple of issues:

  • Sound of critical alerts is not played by the CarPlay's speakers (played by the iPhone's speakers)
  • Tapping on a critical alert doesn't open the app like other notifications.
  • Critical alerts of the app are always shown if the CarPlay is connected, even if the app doesn't have the CarPlay entitlement.
  • didReceive is not called if the user taps on a notification on the CarPlay.

Any help would be greatly appreciated

If you are trying to launch your iPhone app while in CarPlay using the critical alerts, that is not explicitly supported. There is a CPAlertTemplate in CarPlay where you can show in information but this is only available to CarPlay EV charging, communication and parking apps. As described in the CarPlay Programming Guide:

Notifications should be used sparingly in CarPlay and must be reserved for important tasks required while driving. Do not use notifications in CarPlay for features that are only relevant when using your app on iPhone. In general, notifications are not read aloud in CarPlay.

Please see the guide for more information.

Critical alerts on CarPlay don't open the app on tap events
 
 
Q