firebase / firebase/firebase-js-sdk
The onMessage event only receives one message (my website tab is open - 1 url pathname) when FCM push notification. When I use FCM to push an additional notification, onMessage does not receive the message
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Operating System
macOS monterey 12.5.1
### Browser Version
Chrome - Version 120.0.6099.129 (Official Build) (arm64)
### Firebase SDK Version
10.7.0
### Firebase SDK Product:
Messaging
### Describe your project's tooling
My project uses firebase cloud messaging to push notifications to the web.
### Describe the problem
The onMessage event only receives one message (my website tab is open - 1 url pathname) when FCM push notification. When I use FCM to push an additional notification, onMessage does not receive the message.
- I don't know if this problem is due to Chrome blocking multiple push notifications when web focus tab (1 pathname)
### Steps and code to reproduce issue
The onMessage event only receives one message (my website tab is open - 1 url pathname) when FCM push notification. When I use FCM to push an additional notification, onMessage does not receive the message.
- I don't know if this problem is due to Chrome blocking multiple push notifications when web focus tab (1 pathname)
Contributor guide
Assessment
This issue has not been assessed yet.