Push Messaging & Notifications
Available in Chrome 42+ & Chrome 42+
To use this sample please do the following:
- Create a project in the Google Developer Console.
- Under APIs enable Google Cloud Messaging for Android.
- Under Credentials, create a new key and select Server key as the type.
- Replace "<YOUR API KEY HERE>" in main.js with your own API key from the Google Developer Console project.
- Replace "<YOUR PROJECT NUMBER>" in manifest.json with your own project number from the Overview page of your Google Developer Console project.
cURL Command to Send Push