[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)
-
@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?
-
Just to be clear, a tab is open when you are testing the notifications, right?