Notifications
com.apple.notificationsettings
The payload that configures notifications.
Configuration Keys (1)
| Key | Type | Title |
|---|---|---|
NotificationSettingsrequiredAn array of notification settings dictionaries. | array | Notification Settings |
NotificationSettingsItemNotification settings for an app | dict | Notification Setting |
NotificationsEnabledIf 'true', enables notifications for this app. Available in iOS 9.3 and later and macOS 10.15 and later. Default: true | boolean | Enable Notifications |
BundleIdentifierrequiredThe bundle identifier of the app to which to apply these notification settings. Available in iOS 9.3 and later and macOS 10.15 and later. | string | App Bundle Identifier |
ShowInNotificationCenterIf 'true', enables notifications in the notification center for this app. Available in iOS 9.3 and later and macOS 10.15 and later. Default: true | boolean | Show in Notification Center |
ShowInLockScreenIf 'true', enables notifications on the Lock Screen for this app. Available in iOS 9.3 and later and macOS 10.15 and later. Default: true | boolean | Show in Lock Screen |
ShowInCarPlayIf 'true', enables notifications in CarPlay for this app. Available in iOS 12 and later. Default: true | boolean | Show in CarPlay |
SoundsEnabledIf 'true', enables sounds for this app. Default: true | boolean | Sounds Enabled |
BadgesEnabledIf 'true', enables badges for this app. Available in iOS 9.3 and later and macOS 10.15 and later. Default: true | boolean | Badges Enabled |
AlertTypeThe type of alert for notifications for this app: - '0': None - '1': Temporary Banner - '2': Persistent Banner Available in iOS 9.3 and later and macOS 10.15 and later. Default: 1 Range: None (0), Banners (1), Alerts (2) | integer | Alert Type |
PreviewTypeThe type previews for notifications. This key overrides the value at Settings>Notifications>Show Previews. - '0' - Always: Previews will be shown when the device is locked and unlocked - '1' - When Unlocked: Previews will only be shown when the device is unlocked - '2' - Never: Previews will never be shown Available in iOS 14 and later. Range: Always (0), When Unlocked (1), Never (2) | integer | Preview Type |
GroupingTypeThe type of grouping for notifications for this app: - '0': Automatic: Group notifications into app-specified groups. - '1': By app: Group notifications into one group. - '2': Off: Don't group notifications. Available in iOS 12 and later. Default: 0 Range: Automatic - Group notifications app-specific groups (0), By App - Group notifications into one group (1), Off - Do not group notifications (2) | integer | Grouping Type |
CriticalAlertEnabledIf 'true', enables critical alerts that can ignore Do Not Disturb and ringer settings for this app. Available in iOS 12 and later and macOS 10.15 and later. Default: false | boolean | Critical Alert Enabled |