FCM browser support and message handling
The FCM JS SDK works only on Push API-supported browsers. Make sure your test web application instance is running on one of these browsers. You can use the
isSupported method on the client to check if a browser supports messaging capabilities.
Chrome provides tools to give you insight about the delivery of the message to
Launch your web app on a Chrome browser, go
to chrome://gcm-internals, and try these steps:
- Make sure 'Connection State' is CONNECTED. If not, open a bug for Chromium:
- If connected, click the 'Start Recording' button.
- You should see an entry with "Data msg received" under 'Receive Message Log'
successful message handling.
- If everything works well with Chrome, but not with a particular browser, double
the browser supports
the Push API, and file a
If the message wasn't received on the browser, we must go deeper. Choose the message type
you are trying to send, data or notification, and continue debugging. If the problem message is a notification message with a data payload, try the notification message debugging steps first.