Returning [.alert, .sound] from willPresent shows the banner but never adds the entry to Notification Center — .alert has been a banner-only shim since macOS 11. On 11+ we need [.banner, .list] for the entry to stick after the banner auto-dismisses.
Returning [.alert, .sound] from willPresent shows the banner but never adds the entry to Notification Center — .alert has been a banner-only shim since macOS 11. On 11+ we need [.banner, .list] for the entry to stick after the banner auto-dismisses.