Desktop notifications

Categories

Component ID

2607656

Component name

Desktop notifications

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

HTML5 desktop notifications from your drupal site?

Let your users be notified LIVE from events (configurable per user role).
In the configuration section you can configure a socket server.
It will connect al your clients to this socket server.
You can also configure which roles should subscribe to which socket messages.

Configurable settings:

- socket server to connect to
- html5 notification options (sticky/image/url/close timeout/...)
- which channels a given role connects to

html5 desktop notifications

Uses the native HTML5 desktop notification api.

Supported browsers

At the moment: Chrome, Firefox, Opera and Safari

Message formatting

The socket server should send the message in the following format:

{
"title" : "I am the title", 
"description" : "I am the description", 
"image" : "notification_image_url", 
"sticky" : false, 
"silent" : false,
"sound" : "custom_mp3_file",
"autoClose" : true,
"autoCloseTime" : 3000,
"url": "http://url_to_go_to_when_clicked"
}