/PushNotifications

Implementation of Google's Push Notification Api

Primary LanguageJavaScript

Push Messaging and Notification Sample

Learn more at http://www.chromestatus.com/feature/5416033485586432 and http://www.chromestatus.com/feature/5480344312610816

To use this sample please do the following:

  1. Create a project in the Google Developer Console (detailed instructions are availabl at https://developer.android.com/google/gcm/gs.html)
  2. Enable GCM support
  3. Replace <YOUR API KEY HERE> in main.js with your own API key from the Google Developer Console project
  4. Replace <YOUR PROJECT NUMBER> in manifest.json with your own project number from the Google Developer Console project

Related Samples

Push messaging and notifications are useful in web apps that use service workers.