quickstart-js icon indicating copy to clipboard operation
quickstart-js copied to clipboard

Show two messages

Open asleeguilez opened this issue 2 years ago • 1 comments

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

asleeguilez avatar Apr 12 '23 11:04 asleeguilez

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

127 avatar Jun 14 '24 11:06 127