Notifications
com.apple.notificationsettings
The payload that configures notifications.
Requires supervision on iOS · Not available with User Enrollment
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. Default: true | boolean | Enable notifications |
BundleIdentifierrequiredThe bundle identifier of the app to which to apply these notification settings. | string | App bundle identifier |
ShowInNotificationCenterIf 'true', enables notifications in the Notification Center for this app. Default: true | boolean | Show in Notification Center |
ShowInLockScreenIf 'true', enables notifications on the Lock Screen for this app. Default: true | boolean | Show in Lock Screen |
ShowInCarPlayiOS 12.0+ · not on macOS If 'true', enables notifications in CarPlay for this app. 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. Default: true | boolean | Badges enabled |
AlertTypeThe type of alert for notifications for this app: '0': None '1': Temporary Banner '2': Persistent Banner Default: 1 Range: None (0), Banners (1), Alerts (2) | integer | Alert type |
PreviewTypeiOS 14.0+ · not on macOS The type previews for notifications. This key overrides the value at Settings>Notifications>Show Previews. '0' - Always: The device shows previews when locked and unlocked '1' - When Unlocked: The device shows previews only when unlocked '2' - Never: The device never shows previews Range: Always (0), When Unlocked (1), Never (2) | integer | Preview type |
GroupingTypeiOS 12.0+ · not on macOS The 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. 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 |
CriticalAlertEnablediOS 12.0+ If 'true', enables critical alerts that can ignore Do Not Disturb and ringer settings for this app. Default: false | boolean | Critical alert enabled |