Notification permissions
App Auto-Patch posts the user notification types below. The names are
the ones TemporaryNotificationTypes and PersistentNotificationTypes
take, and the last column is the identity that posts each type unless
those keys move it:
| Type | When | Default identity |
|---|---|---|
backgroundPatchStarted |
A background pass of closed apps starts. | xyz.techitout.appAutoPatch |
backgroundPatchCompleted |
A background pass finished. | xyz.techitout.appAutoPatch |
backgroundPatchFailed |
A background pass finished with errors. | xyz.techitout.appAutoPatch-persistent |
updatesAvailable |
A check found new updates for apps that are open. | xyz.techitout.appAutoPatch-persistent |
acPowerRequired |
Closed-app updates wait because the Mac is on battery. | xyz.techitout.appAutoPatch-persistent |
deferralResuming |
A deferral has ended and the prompt is coming back. | xyz.techitout.appAutoPatch-persistent |
hardDeadlineReminder |
Reminders 60, 30 and 5 minutes before a required install, when the required-update dialog was closed. | xyz.techitout.appAutoPatch-persistent |
selfUpdateAvailable |
A newer App Auto-Patch was found and not installed silently. | xyz.techitout.appAutoPatch-persistent |
In helper-daemon mode the background-pass notifications are posted by the
GUI’s HelperBackgroundPatchObserver; in in-app mode by
BackgroundPatchScheduler.
By default, macOS shows a system permission prompt the first time AAP
tries to post a notification (“App Auto-Patch would like to send you
notifications”). On managed Macs that prompt is usually unwanted —
admins want notifications either pre-allowed across the fleet or
suppressed entirely.
This is solved with a com.apple.notificationsettings configuration
profile.
A minimal profile that enables AAP notifications fleet-wide:
<dict> <key>BundleIdentifier</key> <string>xyz.techitout.appAutoPatch</string> <key>NotificationsEnabled</key> <true/> <key>AlertType</key> <integer>1</integer> <key>BadgesEnabled</key> <true/> <key>SoundsEnabled</key> <true/> <key>CriticalAlertEnabled</key> <false/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/></dict><dict> <key>BundleIdentifier</key> <string>xyz.techitout.appAutoPatch-persistent</string> <key>NotificationsEnabled</key> <true/> <key>AlertType</key> <integer>2</integer> <key>BadgesEnabled</key> <false/> <key>SoundsEnabled</key> <true/> <key>CriticalAlertEnabled</key> <false/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/></dict>A complete, deployable sample lives next to this doc:
com.apple.notificationsettings-AppAutoPatch.example.mobileconfig.
Identifier reference
Section titled “Identifier reference”xyz.techitout.appAutoPatchposts informational notifications. Configure it withAlertType = 1(temporary banner).xyz.techitout.appAutoPatch-persistentis the embedded, short-lived notifier for action-required notifications. System Settings shows it as App Auto-Patch Notification. Configure it withAlertType = 2(persistent alert). The bundle ID did not change when the display name changed, so an existing notification-settings profile keeps applying. Notification Center can keep the previous name, App Auto-Patch Persistent, until the user logs out or the Mac restarts.
macOS controls presentation per bundle ID, not per notification request.
The managed preferences TemporaryNotificationTypes and
PersistentNotificationTypes choose which identity posts a notification;
this Notification Settings payload controls how each identity appears.
Key reference
Section titled “Key reference”| Key | Type | Notes |
|---|---|---|
BundleIdentifier |
string | Required. Use one entry for each identifier above. |
NotificationsEnabled |
bool | true to allow AAP to post notifications. Set to false to suppress every AAP notification on the Mac. |
AlertType |
int | 0 = none, 1 = banner, 2 = alert. Banners auto-dismiss; alerts persist until acted on. AAP’s notifications are short status messages so banners are usually right. |
BadgesEnabled |
bool | Controls the badge on the AAP icon. App Auto-Patch badges its Dock icon with the number of pending updates while the dashboard is open, so false on xyz.techitout.appAutoPatch hides that badge. The persistent identity never shows a Dock icon, so the example sets it false there. |
SoundsEnabled |
bool | Whether notification sounds play. |
CriticalAlertEnabled |
bool | true makes notifications bypass Do Not Disturb and play even when the Mac is on silent. AAP notifications are not time-critical, so this should generally stay false. |
ShowInLockScreen |
bool | Whether AAP notifications appear on the lock screen. |
ShowInNotificationCenter |
bool | Whether AAP notifications collect in Notification Center. |
PreviewType |
int | (Optional, macOS 14+.) 0 = always, 1 = when unlocked, 2 = never. Controls when notification content is previewed in the banner vs. hidden behind “Notification”. AAP notifications carry no sensitive data, so leaving this unset is fine. |
Verifying it worked
Section titled “Verifying it worked”- Push the profile.
- Launch (or relaunch) AAP.
- Open System Settings › Notifications. Find the AAP entry.
- Confirm the toggle row reads Managed by your organization — i.e. the user can’t change it.
- Trigger a notification with a background pass. In Settings ›
Advanced › Background Patching, turn on Silently patch apps that
aren’t currently open and Show a notification when a background
pass finishes, and click Save. Quit an app that has a pending
update, then wait for the next scheduled pass, or click Check For
Updates, which starts a closed-app pass when a closed app has an
update. Confirm that App Auto-Patch is updating closed apps and then
App Auto-Patch updated apps appear. Update All doesn’t post
these notifications.
On the command line,
profiles listshows every installed profile.
Suppressing notifications (the inverse)
Section titled “Suppressing notifications (the inverse)”If you want to block AAP notifications fleet-wide, deploy the same profile but with:
<key>NotificationsEnabled</key><false/>Set it on both identities to silence every notification type above,
including the HelperBackgroundPatchObserver post-pass toast and the
self-update notification. The dashboard’s self-update banner is part of
the window, not a notification, so it still appears. Useful in
environments where users shouldn’t get any
patching-related notifications and AAP runs purely as a background
service.
Requirements / caveats
Section titled “Requirements / caveats”- macOS 13 (Ventura) or later — the
com.apple.notificationsettingspayload predates that, but AAP itself targets macOS 14+. - The profile must be deployed by an MDM. Apple does not allow manual installation of this payload type for App Store / Notarized apps.
- Multiple
com.apple.notificationsettingspayloads are allowed on a single Mac, so adding an AAP-specific payload doesn’t conflict with profiles that already manage other apps’ notification settings.
