A user commented saying, of all the videos he has watched regarding firebase messaging, this has been the most useful and i couldn't agree more. Good job!
hello sir, I have done everything from firebase configuration to token generation. but i am unable to recieve notifications . i have also put debugger on listeners of onMessage and backgrond one as well . But still i am unable to recieve notification at my local host environment. i have also turn on all the notification from system settings. no error is shown but still not being able to get notifications. waiting for yourf reply
Firstly the notification was working but after some time, it gives me error not registered and it also not giving me the new token if previous one is expired. Any solution, please help🙏
This error typically occurs when the FCM token is invalidated, compromised or not registered properly with the FCM server. Possible reasons: - The user cleared app or session data. - The token expired. Solutions: Ensure that the app is still registered with FCM. Check if the token is being refreshed correctly. Handle token refresh events and update the token. If the token is invalid, request a new one. Refer this for how to refresh the token: firebase.google.com/docs/cloud-messaging/manage-tokens#basic-best-practices
Do you push your Firebase Config in production? Right now I'm facing that trouble, the public JS file cannot get Env because it's not inside the build project, anyone have solution for that?
Hi all good -except when I install on my iphone - I get a 'denied' when I call the request permission. Chrome has notifications enabled - any ideas please?
Worked, Just a question would it target all the users on its own or do we have to add their token somewhere. Notifications are not being shown if i close the website
i have a problem, i do follow you step by step but, when i push i didn't see notification. notification had appeared in console. i hope you answer me please
FCM supports push notifications from Safari version 16.1 and macOS 16.4 iOS & iPadOS. Refer this blog post to check how to enable it: firebase.blog/posts/2023/08/fcm-for-safari/
Of all the videos I've watched so far regarding firebase messaging, this has been the most useful. Great job man
A user commented saying, of all the videos he has watched regarding firebase messaging, this has been the most useful and i couldn't agree more. Good job!
Nice tutorial! Firebase can be tricky, but this video helps a lot. Thank you!
work perfect, thanks for this!
That's so prefect, unique and well explained, thankyou
Your tutorial has helped me quite a lot! Thanks!
Thanks for the great video. Simple and straight to the point
hello sir, I have done everything from firebase configuration to token generation. but i am unable to recieve notifications . i have also put debugger on listeners of onMessage and backgrond one as well . But still i am unable to recieve notification at my local host environment. i have also turn on all the notification from system settings. no error is shown but still not being able to get notifications. waiting for yourf reply
Great video - thank you!
Thanks for this gem.
Pls do firebase push notification nextjs
Awesome! Thank you for this video.
Thanks buddy! Easy and it worked
Thanks man god bless you 🙏❤
Thanks for the beautiful comment, it made my day ❤️
Good job web dev Matrix
Very good on bro... 100
Can you make the video on how to serve FCM dynamically from server?
Firstly the notification was working but after some time, it gives me error not registered and it also not giving me the new token if previous one is expired.
Any solution, please help🙏
This error typically occurs when the FCM token is invalidated, compromised or not registered properly with the FCM server.
Possible reasons:
- The user cleared app or session data.
- The token expired.
Solutions:
Ensure that the app is still registered with FCM.
Check if the token is being refreshed correctly.
Handle token refresh events and update the token.
If the token is invalid, request a new one.
Refer this for how to refresh the token: firebase.google.com/docs/cloud-messaging/manage-tokens#basic-best-practices
@@WebDevMatrix thanks bro 🙏
This is great video too helpfull
Thanks for your comment and support!
Thanks man!
thank you for this video, bro
Do you push your Firebase Config in production? Right now I'm facing that trouble, the public JS file cannot get Env because it's not inside the build project, anyone have solution for that?
thank you for making video.
Hi all good -except when I install on my iphone - I get a 'denied' when I call the request permission. Chrome has notifications enabled - any ideas please?
Thank you soo much for this vid, is there any way you could guide me on sending notifications based of a user defined time
Worked, Just a question would it target all the users on its own or do we have to add their token somewhere.
Notifications are not being shown if i close the website
thats it? how do i trigger notifications from the frontend?
i have a problem, i do follow you step by step but, when i push i didn't see notification. notification had appeared in console. i hope you answer me please
FirebaseError: Messaging: We are unable to register the default service worker
hiii , why we can not use modular API ? and if we can how to use it ?
Thankyou sir for this video and its working on chrome but not working ios and mac os safari .please suggest any solution
FCM supports push notifications from Safari version 16.1 and macOS 16.4 iOS & iPadOS.
Refer this blog post to check how to enable it: firebase.blog/posts/2023/08/fcm-for-safari/
@@WebDevMatrix thankyou sir
Very good video :)
I am receiving 2 notification for 1 request .Did any one received duplicate notification
Does it work same with vite?
how can i send the notification for evevry 30 minutes
thanks bro,
it is not working on android pwa app, please help
nice thank you
Dind't give example to send message, uninpressed.
I am little worried after seeing your subscriber number
can i have source code sir..
You can refer to this quickstart repo files for the code: github.com/firebase/quickstart-js/tree/master/messaging