iOS 17 CarPlay message notification navigating to app instead of announcing messages

After the update to iOS 17, tapping on message notification shown on CarPlay Dashboard is navigating to the CarPlay app instead of announcing the message notification.

Announce Notifications turned ON Announce Messages turned ON Announce New Messages option is selected

Other apps message notifications are announced as expected when tapping on the notification implying that the settings are set as required.

Enabled com.apple.developer.carplay-communication

Class CustomCarPlaySceneDelegate: UIResponder, CPTemplateApplicationSceneDelegate {

func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didConnect interfaceController: CPInterfaceController)

func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didDisconnectInterfaceController interfaceController: CPInterfaceController)

func scene(_ scene: UIScene, willContinueUserActivityWithType userActivityType: String)

}