Skip to content

FR: Please help add an option to enable / disable auto notifications on Firebase Messaging. #8818

Open
@tiennguyen1293

Description

@tiennguyen1293

Operating System

MacOS 14.6.1

Environment (if applicable)

Chrome 133.0.6943.142

Firebase SDK Version

^11.3.1

Firebase SDK Product(s)

Messaging

Project Tooling

I built a Google Extension with Firebase Messaging

Detailed Problem Description

I am facing an issue with duplicate notifications between my custom notification and Firebase auto-notification. I am using a single Firebase project for both Android and the Extension, causing duplication.

Steps and code to reproduce issue

Init Firebase Messaging and add more

self.registration.showNotification('This is title', {
      title: '',
      body: 'This is body',
      icon: 'images/logo.png',
      data: {
         ...
      },
    })

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions