-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use both - 'appID' and 'actions' parameters at the same time #326
Comments
@Denchijik I'm also having this issue. |
same here |
@mikaelbr Is there any workaround for both the options to work? |
I no longer have easy access to Windows. Any help with debugging, implementation, and QA would be greatly appreciated. The source code is very straight (painfully so), so running it locally and debugging the issue should hopefully be very doable if you have this issue. |
I performed a little bit of initial investigation into this issue and it appears that data is not being returned over the pipe. None of the pipe's events actually fire when an appID is specified and a button is clicked. SnoreToast does however know the a button has been clicked and the exit code is correct. |
@mikaelbr facing the same issue. is there any workaround? |
I tried running SnoreToast by itself (not through node-notifier) and it seems like using either textbox or buttons in conjunction with appID will cause the textbox or buttons to be missing. So it could be SnoreToast's issue, not node-notifier. :( |
SnoreToast requires you to register an application to make this work.
Remember to set the |
For anyone facing the same issue: |
When will this be fixed? Still seeing it in 10.0.1 |
There's an open PR with a fix (it's been more than a year since it was opened so I'm not hopeful that it will ever get merged) We have fixed this issue in our app (youtube-music desktop) by applying a custom patch on top of the snoretoast binaries in node_modules if you need some inspiration th-ch/youtube-music#600 (or if you want you could use the pre-compiled fixed binaries from viviedu@4d7e6ae) |
There's actually a pretty easy way to fix this, we just didn't implement SnoreToast well enough: Here's a guide: #424 |
Hi guys!
I was trying to make notifications with buttons on windows 10 (v1909) using this code:
notifier.notify( { title: 'title', message: 'message', icon: paths.appIconPath, actions: ['Close', 'Settings'], });
It worked, but I noticed that there is always a 'SnoreToast' message at the bottom of the notification. After some googling, I found that to hide this message I need to also provide an 'appID' parameter to the notify function. But when I provide it, the buttons disseaper. This code should possibly work, but it doesnt't:
notifier.notify( { title: 'title', message: 'message', icon: paths.appIconPath, actions: ['Close', 'Settings'], appID: 'SomeAppId' });
Am I missing something?
The text was updated successfully, but these errors were encountered: