Web Notifications

Component ID

2567811

Component name

Web Notifications

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

If you ask a room of developers what mobile device features are missing from the web, push notifications are always high on the list.
Push notifications allow your users to opt-in to timely updates from sites they love and allow you to effectively re-engage them with customized, engaging content.

As of Chrome version 42, the Push API and Notification API are available to developers. And other browsers will follow.

Sending notifications to mobile devices is only allowed if your site is on HTTPS (SSL secured).

Installation

To use this module please do the following:

  1. Install and activate this module on your Drupal site.
  2. Create a project in the Google Developer Console.
  3. Under APIs enable Google Cloud Messaging for Android and Google Cloud Messaging for Chrome.
  4. Under Credentials, create a new key and select Server key as the type.
  5. On your Drupal site, go to Modules to edit the settings of the module "Web Notifications".
  6. Enter your own API key and your own project number from the Google Developer Console project.
  7. You're done!