Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucacome/vendingmachine


https://github.com/lucacome/vendingmachine

Last synced: 28 days ago
JSON representation

Awesome Lists containing this project

README

        

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](https://console.developers.google.com) (detailed instructions are availabl at https://developer.android.com/google/gcm/gs.html)
1. Enable GCM support
1. Create a copy of [config.sample.js](config.sample.js) called config.js
1. Create a copy of [manifest.sample.json](manifest.sample.json) called manifest.json
1. Replace `` in your new `config.js` file with your own API key from the Google Developer Console project
4. Replace `` in your new `manifest.json` with your own project number from the Google Developer Console project

# Related Samples
Push messaging and notifications are built on [service workers](https://github.com/GoogleChrome/samples/tree/gh-pages/service-worker).