You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System version: macOS (11.5.2)
Browser version: Google Chrome (95.0.4638.69)
Firebase SDK version: 7.16.1
Firebase Product: messaging
Describe the problem
Trying to use Firebase Cloud Messaging in Chrome Extension. Was able to register firebase messaging service worker and retrieve the token from SDK, but push notifications doesn't work. Upon sending a test notification from Firebase Cloud Messaging, service worker code gets fired, but setBackgroundMessageHandler doesn't get executed since payload is empty.
Describe your environment
Operating System version: macOS (11.5.2)
Browser version: Google Chrome (95.0.4638.69)
Firebase SDK version: 7.16.1
Firebase Product: messaging
Describe the problem
Trying to use Firebase Cloud Messaging in Chrome Extension. Was able to register firebase messaging service worker and retrieve the token from SDK, but push notifications doesn't work. Upon sending a test notification from Firebase Cloud Messaging, service worker code gets fired, but
setBackgroundMessageHandler
doesn't get executed since payload is empty.Steps to reproduce:
Sample project you can find here: https://github.com/asagabandi/firebase-messaging-chrome-extension
Relevant Code:
Part of the code, where setBackgroundMessageHandler should be called:
The text was updated successfully, but these errors were encountered: