ブラウザを介したpush通知のサンプルプログラムです。
以下のリポジトリを参考に作成しました。 ライセンスは以下のリポジトリに準拠します。
https://github.com/GoogleChrome/samples/tree/gh-pages/push-messaging-and-notifications
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:
- Create a project in the Google Developer Console
- Enable GCM support
- Replace "" in main.js with your own API key from the Google Developer Console project
- Replace "" in manifest.json with your own project number from the Google Developer Console project