-
Notifications
You must be signed in to change notification settings - Fork 321
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
Windows 10 not getting toasts #144
Comments
Might there be an issue with Windows on this? AFAIK, you have to have a shortcut of the toaster vendor in your Windows menu for you to allow to send messages. Have you removed that? It should be added automatically, initially (and may explain why it worked the first time). Also, make sure to check your notification settings if the notifications for toaster.exe is turned off. In the master-branch we've changed how toasters work. So please try |
Root cause is #160 |
Tested yesterday on Windows 10 and nothing showed up (never, not first time, not other times). Same code is working on Linux (KDE) flawlessly. |
I think this is due to some register app in notification issue causing it some times to fail initially and other times to work. Need to investigate what the root cause is, but it seems to work on fresh windows installations – so maybe try to remove node-notifier, snoretoast etc from the notification list in the Control Panel. |
I think the windows push notification is canceled by node-notifier if there is no appId (as far as i can remember). But i think i found out something that can help you. In your package.json define your
Then when you notify pass your appId as well:
On first though, i was expecting this to work, but it does not yet (in development mode at least). |
For information, now it's |
Sorry my exemple doesn´t run corretitly(Iam Angolano and i dont speak inglish very well) |
I have also the same problem after update windows :(, sometimes it shows now but before the update, it shows properly |
I installed the package last night and just ran the simple example to test it out and it worked great. The notifcations showed up. Then the next time I tried to run the script it no longer works at all.
Going to the notifications settings in Windows 10 I see the
toast
entry and everything is enabled. Banners and all of it.I can manually go to
node_modules\node-notifier\vendor\toaster\toast.exe
and run the executable directly from the command line and it will work just fine.I've tried targeting only the
WindowsToaster
and setting the custom pathand
Neither of these things worked. I'm just so confused it worked perfectly the first time I ran the code now it just doesn't work at all. I've tried reinstalling all the packages.
The text was updated successfully, but these errors were encountered: