swiftDialog icon indicating copy to clipboard operation
swiftDialog copied to clipboard

Notifications errors out with "ERROR: Notifications are not allowed for this application"

Open ShawnMGiesbrecht opened this issue 1 year ago • 1 comments

Describe the bug launch '/usr/local/bin/dialog --notification --title " " --message " "' or '/usr/local/bin/dialog --notification --title "Title" --message "Message "', I get "ERROR: Notifications are not allowed for this application" error

To Reproduce just rerun the command on command line or CodeRunner

Expected behavior To display a notification

Screenshots image

Desktop (please complete the following information):

  • macOS: 14.4.1
  • swiftDialog version: 2.4.2 (4755)

Additional context Add any other context about the problem here.

ShawnMGiesbrecht avatar May 09 '24 16:05 ShawnMGiesbrecht

you need to allow the notification either manually in system settings -> notifications or via config profile as per https://github.com/swiftDialog/swiftDialog/wiki/Notifications#approving-and-setting-notification-type-via-mdm

bartreardon avatar May 18 '24 12:05 bartreardon