-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Summary
Add support for CarPlay notifications on iOS to allow app notifications to appear on the CarPlay interface when connected to compatible vehicles.
Problem
Currently, the plugin only supports standard iOS notification permissions (alert, badge, sound, provisional, critical). There's no way to request CarPlay notification permissions, which prevents notifications from appearing on CarPlay interfaces.
Proposed Solution
• Introduce a new IOSInitializationSettings class that extends DarwinInitializationSettings
• Add requestCarPlayPermission parameter to control CarPlay notification permissions
• Maintain backward compatibility with existing DarwinInitializationSettings usage
• Add CarPlay permission status checking in NotificationsEnabledOptions
Expected Benefits
• Enable notifications in CarPlay interface (iOS 10.0+)
• Maintain full backward compatibility
• Provide iOS-specific initialization options for future features
• Follow platform-specific design patterns