Skip to content

Commit f64311a

Browse files
author
Matthew Gaunt
authored
Update README.md
1 parent 84bdac8 commit f64311a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

push-messaging-and-notifications/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Learn more at https://www.chromestatus.com/feature/5416033485586432 and https://
55

66
To use this sample please do the following:
77

8-
1. Create a project in the [Google Developer Console](https://console.developers.google.com) (detailed instructions are available at https://developer.android.com/google/gcm/gs.html)
9-
1. Enable GCM support
10-
1. Create a copy of [config.sample.js](config.sample.js) called config.js
11-
1. Create a copy of [manifest.sample.json](manifest.sample.json) called manifest.json
12-
1. Replace `<Your Public API Key ...>` in your new `config.js` file with your own API key from the Google Developer Console project
13-
4. Replace `<Your Project Number ...>` in your new `manifest.json` with your own project number from the Google Developer Console project
8+
1. Create a project on the [Firebase Developer Console](https://console.firebase.google.com).
9+
1. Go to Settings (The cog near the top left corner), click the 'Cloud Messaging Tab'.
10+
1. Create a copy of [config.sample.js](config.sample.js) called config.js.
11+
1. Create a copy of [manifest.sample.json](manifest.sample.json) called manifest.json.
12+
1. 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.
13+
4. Replace `<Your Cloud Sender ID ...>` in your new `manifest.json` with your own sender ID from the Firebase Developer Console project.
1414

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

0 commit comments

Comments
 (0)