Skip to main content
Question

swiftDialog helper error

  • Jan 19, 2023 8:45 AM UTC
  • 5 replies
  • 104 views

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+17
  • Valued Contributor
  • Jan 23, 2023 2:25 PM UTC

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
  • Jan 25, 2023 11:45 AM UTC

I have the same exact issue. 


jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • Feb 7, 2023 5:18 PM UTC

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
  • Feb 8, 2023 8:36 AM UTC

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
  • Feb 10, 2023 2:56 PM UTC

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)