Skip to content

Not all shortcut notifications are blocked #4

@lonkelle

Description

@lonkelle

There are two ways to block shortcut notifications.

You hooked into Notifications in real-time to stop them. It seems to miss the "completed" shortcut notifications since they display a bit differently.

So, two options:

  1. Make your hook account for this (easiest way to test this is to make a shortcut and set it up with back tap and then back tap to test removing the notifications.

  2. Use the UserNotifications private framework and patch that off. This works to remove all notifications rather than just the "Show Notification" shortcut action being hidden (what your plugin does).

assert(Bundle(path: "/System/Library/PrivateFrameworks/UserNotificationsSettings.framework")!.load())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions