-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
0.13: Native desktop notifications #4560
Comments
Will see this after 0.13.0. This should be done via Node.js module btw. |
As far as I know, there are no node modules available that provide native desktop notification support for all platforms at the same time. Some of them are exclusively using libnotify, growl or are simply OSX specific. Finding a solution with multiple node modules would be a dependency nightmare, if it's even possible to find fitting modules for all platforms. One of the best features of NW.js are the native desktop notifications and many devs are reliant on this, so why would you want to remove it? Also from what it looks like, the I'm very much looking forward to nw13, but not having support for native desktop notifications is going to annoy many devs and users. This is one of the key features of my application at least and I need to upgrade to nw13 as soon as possible, because it fixes some crucial memory leaks that are caused by 0.12.x. But not being able to create native notifications is pretty much a no-go for me. I think many devs are in the same situation like I am. |
I'm not saying you should use existing Node.js modules -- if we're going to support this, we'll do it with Node.js module. There is no reason not to do it in this way. |
Are there any known open issues with the https://github.com/mikaelbr/node-notifier and nw13 that would prevent using this combination for support of native notifications and Growl fallback? |
With upstream supporting native notifications on OSX, NW will support this out of the box: https://bugs.chromium.org/p/chromium/issues/detail?id=326539 We tend to support both rich notification and native notification as users prefer different options. |
Is it available in nw14 already? |
+1 for native notifications as in nw12. They look so weird now, at least on OS X. |
+1 for native notifications. Chromium notifications are not displayed in fullscreen mode in OSX - https://bugs.chromium.org/p/chromium/issues/detail?id=316281. This issue is preventing us from switching to Chromium's rich notifications. |
Any news? We need to update from 0.12, but this ugly chrome notifications are stopping us. |
Would like to see that happen too... |
Tried running NW v0.16.0-beta1 with the enable-native-notifications flag, but still seeing Chromium notifications. However, Chrome (stable) currently supports native OSX notifications under the flag. |
@shripathee good to know it. Will check this soon after beta1 release, which is scheduled today. At least NW will support whatever Chromium supports. |
Nice to see some movement here. The upgrade of my application to NWjs>=0.13.0 is still blocked by the lack of native desktop notifications. Shipping a version that only supports OSX is a no-go for me. Including node-notifier and its multiple third-party binaries plus other dependencies is also not an option. I don't exactly know what you mean by looking into this after the 0.16.0-beta.1 release, but I hope you mean solving this issue for all platforms. That would be awesome! 😃 |
+1 for native notifications |
I just tested in NWjs v0.17.0-beta1 and it's still creating Chrome notifications, even with the flag 😞 |
Native notifications got displayed with the NWjs v0.16.1 stable with '--enable-native-notifications' set in 'chromium-args' in package.json |
As Chromium upstream is developing native notification and our plan is to use their work, I'm closing this issue. Please watch and star the upstream issues to increase the priority there: https://bugs.chromium.org/p/chromium/issues/detail?id=326539 |
The current chromium canary does only support OSX... Windows 10 action center support is being worked on, though: There are still no comments about support for Linux: |
Is there a way to disable the settings button of native notifications on MacOS? (using the Clicking the settings button opens up a new window with a blank page and a blank address bar. When using chrome/chromium on MacOS, clicking the settings button opens |
+1 seems like currently we have only simple APIs like would be great if we have something like I'm using nw 0.18.8-sdk. |
|
@fritx could you please try |
@rogerwang cool, but where could I find it in the latest docs? I haven't yet tried |
FYI, this should be nearly able to done without any packages on Mac OS X |
any updates on how to do this in 2017? i really need to know |
mikeGHQ update of what? It's closed already, chromium use native notification from last summer. |
NW.js 0.13 now comes with Chromium's rich notifications. Those are non-native and may be annoying for users who'd rather prefer using the notification system of their OS (Linux, OSX, Win10).
Would it be possible to add native notifications used by the previous releases back, alongside the new rich notifications? Both
new window.Notification()
andchrome.notifications.create()
could still create rich notifications, but having access to native notifications somewhere in NW.js' API would be great. This way, the notification could be manipulated by thechrome.notificationProvider
API.Thank you!
The text was updated successfully, but these errors were encountered: