firebase / firebase/firebase-js-sdk
FR: Please help add an option to enable / disable auto notifications on Firebase Messaging.
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### 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: {
...
},
})
```
Contributor guide
Research direction
No repository file, test, or entry point is named. Start by reviewing Firebase Messaging web behavior around automatic notifications and the service-worker showNotification call; clarify whether the option applies to Chrome Extensions, Android, or both, and define the expected behavior when it is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100