mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Add static methods for removing delivered notifications from Notification Center via the UNUserNotificationCenter API: - `remove(id)` removes one or more notifications by identifier (accepts string or string array) - `removeAll()` removes all of the app's delivered notifications - `removeGroup(groupId)` removes all notifications with a given groupId These methods build on the custom id/groupId support and getHistory() to enable full notification lifecycle management from the main process. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>