swiftDialog helper error

amona121
New Contributor

I'm trying to send a notification to our users with SwiftDialog. I have set up the notification permission and deployed the mobileconfig with Jamf but it gives me the error "notifications are not available: couldn't communicate with a helper application".

What could be the issue?

5 REPLIES 5

roiegat
Contributor III

Do you deploy the SwiftDialog app on the machine before hand?  SwiftDialog installs an app called dialog so it can run.  Essentially all commands are sent to that app so they can run.  

Philein
New Contributor III

I have the same exact issue. 

jamf-42
Valued Contributor II

hi all.. seeing the same here with notifications when called via script in JAMF

OSvers 13.1 / 13.2 

swiftdialog 2.1 pkg installed fine.. and all works lovely from local CLI 

now there is this.. https://github.com/bartreardon/swiftDialog/issues/219  

I have config profile installed.. swiftDialog.Banners.mobileconfig.zip

 

and have tried both direct call from script as root, and also by calling 'dialog' via 'su' with logged in user.. still getting the same error... 

Notifications are not available: Couldn’t communicate with a helper application. Check to see if Notifications for Dialog.app are enabled in notification center

what am I missing? 

Philein
New Contributor III

Let me know if you find any solution, thanks

jamf-42
Valued Contributor II

This is now fixed and working for me on 12.x and 13.x 

use version 2.1 of swift dialog (this mitigates call as root using the script in /usr/local/bin/dialog) so use this in your scripts.. 

change the config profile to this (disable critical alerts)

 

Capture 2023-02-10 at 14.52.28.png