Discourse Push Notifications for Desktop

Summary

The Push notification plugin allows users to opt to receive push notifications over desktop devices in addition to mobile devices


Features

:warning: In order for this plugin to work at all, your Discourse must be HTTPS.

While push notifications for mobile are now supported in core by default, they are applicable for mobile devices such as Android only.

This plugin exposes a user option that allows users to prefer push notifications on desktop devices:

prefer-push

When checked, enabling “live notifications” will prefer push notifications on desktop devices.

Why?

Desktop browsers are able to get “desktop notifications” which work just fine! However there is a subtle difference in the way that the two function. With desktop notifications, the moment that you close your tabs to discourse, notifications cease to come through. With a push notification, this is not the case.

With push notifications, it is not necessary to have a browser tab open in order to receive notifications. A user is able to receive notifications even when there is no browser tab open on the Discourse site.

Supported Browsers

Chrome Desktop 51 and up, Firefox Desktop 44 and up, see caniuse for specifics.

CHANGELOG

TODO

23 Likes

Hey folks, I am finding that this push notifications package is bugged. I have reported it here: