Skip to main content
Question

swiftDialog helper error


Forum|alt.badge.img+1

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

roiegat
Forum|alt.badge.img+16
  • Valued Contributor
  • 412 replies
  • January 23, 2023

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.  


Forum|alt.badge.img+5
  • Contributor
  • 27 replies
  • January 25, 2023

I have the same exact issue. 


jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • 741 replies
  • February 7, 2023

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? 


Forum|alt.badge.img+5
  • Contributor
  • 27 replies
  • February 8, 2023
jamf-42 wrote:

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? 


Let me know if you find any solution, thanks


jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • 741 replies
  • February 10, 2023

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)

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings