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!
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
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
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
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/
i got this error after make file "firebase-messaging-sw.js" : Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
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!
That's so prefect, unique and well explained, thankyou
Of all the videos I've watched so far regarding firebase messaging, this has been the most useful. Great job man
Thanks for this gem.
Pls do firebase push notification nextjs
Your tutorial has helped me quite a lot! Thanks!
Thanks for the great video. Simple and straight to the point
Awesome! Thank you for this video.
work perfect, thanks for this!
Good job web dev Matrix
Thanks buddy! Easy and it worked
Great video - thank you!
Thanks man god bless you 🙏❤
Thanks for the beautiful comment, it made my day ❤️
Thank you soo much for this vid, is there any way you could guide me on sending notifications based of a user defined time
thank you for making video.
Very good on bro... 100
This is great video too helpfull
Thanks for your comment and support!
Thanks man!
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 🙏
Very good video :)
thank you for this video, bro
hiii , why we can not use modular API ? and if we can how to use it ?
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
FirebaseError: Messaging: We are unable to register the default service worker
nice thank you
I am receiving 2 notification for 1 request .Did any one received duplicate notification
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
how can i send the notification for evevry 30 minutes
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
thanks bro,
it is not working on android pwa app, please help
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
i got this error after make file "firebase-messaging-sw.js" : Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Fixed. i put the wrong vapidKey