firebase / firebase/codelab-friendlychat-web
Request permissions to show notifications doesn't appear
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Windows 10
Chrom Version 103.0.5060.134 (Build officiel) (64 bits)
In : [firebase codlab friendly chat](https://firebase.google.com/codelabs/firebase-web#10)
**Describe the bug**
Step 11: the request permission popup for notifications doesn't appear.
**To Reproduce**
Steps to reproduce the behavior:
1. Add the FCM service worker code
2. Add Get FCM device tokens code
3. Add Request permissions to show notifications code
4. ctrl + s on vscode
5. refrech browser
6. the popup window for ask permission doesn't appear.
**Expected behavior**
A window popup should be opened to ask permission
This video was published on April 22, 2022, time: 26:29, if you compare with the link above you will find that the code has changed.
[Hands-On CodeLab - Building a Chat App with Firebase](https://www.youtube.com/watch?v=jWS2te_65cM)
Contributor guide
Research direction
Start with Step 11 of the Firebase Friendly Chat codelab and review the FCM service worker, device-token, and notification-permission steps in the reported Windows 10 and Chrome setup. Compare the current codelab with the linked April 2022 video and verify the expected permission flow; done means the instructions and code consistently produce the documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100