Push Messaging & Notifications

Available in Chrome 42+ & Chrome 42+

To use this sample please do the following:

  1. Create a project in the Firebase Developer Console.
  2. Go to Settings (The cog near the top left corner), click the 'Cloud Messaging Tab'.
  3. Create a copy of [config.sample.js](config.sample.js) called config.js.
  4. Create a copy of [manifest.sample.json](manifest.sample.json) called manifest.json.
  5. Replace "<Your Cloud Messaging API Key ...>" in your new `config.js` file with your own API key from your new project on Firebase Developer Console.
  6. Replace "<Your Cloud Sender ID ...>" in your new `manifest.json` with your own sender ID from the Firebase Developer Console project.



cURL Command to Send Push