Notifications
com.apple.notificationsettings
The payload that configures notifications.
Requires supervision on iOS · Not available with User Enrollment
Configuration Keys (1)
| Key | Type | Description | Default | Range |
|---|---|---|---|---|
| array | An array of notification settings dictionaries. | Default: — | Range: — | |
Notification setting | dict | Notification settings for an app | Default: — | Range: — |
NotificationsEnabledbooleanEnable notifications | boolean | If 'true', enables notifications for this app. | Default: true | Range: — |
| string | The bundle identifier of the app to which to apply these notification settings. | Default: — | Range: — | |
ShowInNotificationCenterbooleanShow in Notification Center | boolean | If 'true', enables notifications in the Notification Center for this app. | Default: true | Range: — |
ShowInLockScreenbooleanShow in Lock Screen | boolean | If 'true', enables notifications on the Lock Screen for this app. | Default: true | Range: — |
| boolean | If 'true', enables notifications in CarPlay for this app. | Default: true | Range: — | |
SoundsEnabledbooleanSounds enabled | boolean | If 'true', enables sounds for this app. | Default: true | Range: — |
BadgesEnabledbooleanBadges enabled | boolean | If 'true', enables badges for this app. | Default: true | Range: — |
AlertTypeintegerAlert type | integer | The 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 | 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 | Default: — | Range: Always (0), When Unlocked (1), Never (2) | |
| integer | 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) | |
| boolean | If 'true', enables critical alerts that can ignore Do Not Disturb and ringer settings for this app. | Default: false | Range: — |