Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucacome/vendingmachine
https://github.com/lucacome/vendingmachine
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lucacome/vendingmachine
- Owner: lucacome
- Created: 2015-06-11T13:57:15.000Z (over 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-06-11T14:43:35.000Z (over 9 years ago)
- Last Synced: 2024-04-17T15:09:42.085Z (7 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).