Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show two messages #702

Open
asleeguilez opened this issue Apr 12, 2023 · 1 comment
Open

Show two messages #702

asleeguilez opened this issue Apr 12, 2023 · 1 comment

Comments

@asleeguilez
Copy link

Step 1: Describe your environment

  • Operating system: _____Window
  • Browser: _____Chrome
  • Firebase SDK version: _____9.14.0

Step 2: Describe the problem:

Steps to reproduce:

  1. _____I don't know why, but when it's in the background it shows two messages


Observed Results:

image

  • What happened? This could be a description, logs, etc.

Expected Results:

  • What did you expect to happen?

Relevant Code:

// TODO(you): code here to reproduce the problem
I have made no changes, only the example code
@127
Copy link

127 commented Jun 14, 2024

it's not a bug but a feature in this broken part of the Universe
// Keep in mind that FCM will still show notification messages automatically
// and you should use data messages for custom notifications.
at https://github.com/firebase/quickstart-js/blob/master/messaging/firebase-messaging-sw.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants