[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)
-
@psychobunny Thanks, thought it would be something like that, I'll try with the stock browser or Firefox.
-
This looks interesting: https://developer.apple.com/notifications/safari-push-notifications/
-
Desktop / mobile notification is a great forum feature! Would love it!
Works with Firefox for Android sound only (no visual notification).
No success with Chrome and Firefox @ linux desktop and Chrome @ Android.Have to test it with a windows machine soon...
Update
NodeBB v0.4.3
nodebb-plugin-vibration-notifications (via admin panel)
nodebb-plugin-desktop-notifications (via admin panel) -
@psychobunny is this still active?
Have it on our test forum and a couple of issues.
- Don't seem to get notifications in Chrome on Android. Testing further to check if it works on Firefox on Android.
- Is there any way in which the notifications can be throttled? Noticed a flood of notifications when we started clicking multiple times on the upvote button. Could lead to a very annoying experience for users if someone exploits this.
-
1 - Mobile notifications only work on very few mobile browsers today: https://developer.mozilla.org/en-US/docs/Web/API/notification (click on the mobile tab under Browser Compatibility). We also have the pushbullet plugin (which requires a 3rd party app, but works on all mobile devices)
2 - Notification throttling is probably something to think about for core. This plugin just pushes the notifications that come in through the system, so best handled higher up
-
@teh_g I'd like to see either this plugin or something similar support ServiceWorkers and push notifications.
-
They should work by going through the browser push notifications, though I personally don't have them enabled.
When installed, the plugin should prompt you to allow notifications via a toaster alert at the bottom of the screen. Looks like this:
-
In what way is it broken?