You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem similar to #27
On Mojave everything is working as expected, but on Big Sur some notifications just hang when I'm using the -sender parameter.
If I send as com.apple.TextEdit, it just works, but when I'm trying with com.microsoft.Outlook it just hangs and never gets anywhere.
This is on Big Sur 11.2.1, with Outlook 16.46 and I've tried both the precompiled version of alerter, an earlier version of alerter and I even downloaded the project and compiled it myself. Still no luck.
I can see in the Console.app that when it hangs, the NotificationCenter never gets the call, instead I see messages of this nature:
error 13:43:48.541532+0100 usernoted Legacy client com.microsoft.Outlook connecting to modern client. You can't mix modern clients with legacy clients. <ClientConnect: 0x000000014b133200 identifier: com.microsoft.Outlook pid: 37218 type: Application>
error 13:43:48.541897+0100 usernoted Denying message 3 from connection
error 13:44:07.695655+0100 usernoted Denying message 7 from connection
Let me know if you need more information or if I should try something else.
The text was updated successfully, but these errors were encountered:
For me it "hangs" (no dialog or notification appears), even without -sender, and nothing shows up in Console...hmm... update: appears my issue was #26 (comment)
Since macos 10.14, Apple has introduced the "User Notifications" framework to deprecate the NSUserNotificationCenter class and the NSUserNotification class from Foundation framework. It appears that Outlook and Dropbox have already transitioned to the new framework, thus have registered themselves as "modern client" in the notification center. However, alerter is still using the old framework, which is considered a "legacy client", and will be denied when the -sender is already registered as a "modern client". The reason it still works for TextEdit is that normally TextEdit does not register itself in the Notification center.
I have a problem similar to #27
On Mojave everything is working as expected, but on Big Sur some notifications just hang when I'm using the
-sender
parameter.If I send as
com.apple.TextEdit
, it just works, but when I'm trying withcom.microsoft.Outlook
it just hangs and never gets anywhere.Example:
alerter -message "Hi there" -title "This is awesome" -sender "com.microsoft.outlook"
This is on Big Sur 11.2.1, with Outlook 16.46 and I've tried both the precompiled version of alerter, an earlier version of alerter and I even downloaded the project and compiled it myself. Still no luck.
I can see in the Console.app that when it hangs, the NotificationCenter never gets the call, instead I see messages of this nature:
Let me know if you need more information or if I should try something else.
The text was updated successfully, but these errors were encountered: