codelab-friendlychat-web
codelab-friendlychat-web copied to clipboard
Request permissions to show notifications doesn't appear
Windows 10 Chrom Version 103.0.5060.134 (Build officiel) (64 bits)
In : firebase codlab friendly chat
Describe the bug Step 11: the request permission popup for notifications doesn't appear.
To Reproduce Steps to reproduce the behavior:
- Add the FCM service worker code
- Add Get FCM device tokens code
- Add Request permissions to show notifications code
- ctrl + s on vscode
- refrech browser
- 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