Post

Replies

Boosts

Views

Created

Push notification on CarPlay in my American car
Good day, colleagues! Faced a problem - my push notifications work fine on any device, but they stubbornly refuse to work on CarPlay. I have a code in my AppDelegate:     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) - Bool {         let center = UNUserNotificationCenter.current()         center.delegate = self         center.requestAuthorization(options: [.alert, .sound, .badge, .carPlay, .announcement, .criticalAlert, .provisional]) { (granted, error) in         }         return true     } Maybe someone was faced with this problem?
1
0
1.4k
Mar ’21