I have to add an alert to my component.ts in order to see the message. You didn't have to do that. Any reason why mine isn't just appearing without an alert?
Not working in mac sarfari browser, pls explain how to work in MAC sarfari browser Rest of this other browser working fine any idea how to working in sarfari browser
hey, first of all, what a great video and what a great job you do. I wanted to let you know that AngularFireMessaging has been discontinued. Firebase already asks for modular mode, We need to use getMessaging(), onMessage(messaging, (payload) => { console.log('Message received. ', payload); // this.message = payload; }); Could you make an example with the modular form?
If you are on another window or the window is minimised or if you are on another application then only notifications will appear. on the same page you won't get the popup notification.
Is this a silent movie?
i got this error--- FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope
How to solve?
Your service worker is not registered in the app component, please try to register it or else watch the video and follow each steps.
@@thecodingsolution9664 not work
share me the screenshot of an error at pawansoni6789@gmail.com
@@thecodingsolution9664 ok
I have to add an alert to my component.ts in order to see the message. You didn't have to do that. Any reason why mine isn't just appearing without an alert?
why are you using firebase 6.1.4 instead of the latest version?
we can use the latest version. I am using firebase 6.1.4 because I was getting some depreciation in other libraries.
@@thecodingsolution9664 @angular/fire@6.1.4 does not support angular 12 though
not getting notfications when app is inactive, service-workers also enabled, not getting any error also
This notification works only when application is up and running
@@user-zh8eb5re9e yes added some code in firebase-messaging.js
Not working in mac sarfari browser, pls explain how to work in MAC sarfari browser
Rest of this other browser working fine any idea how to working in sarfari browser
share your error at pawansoni6789@gmail.com
Safari doesn’t allow push notifications I believe
This video is very much obsolete. Angular current version is 17, is not 11😂 How to use firebase cloud messasing with the new angular standalone?
looking for the same solution lol
hey, first of all, what a great video and what a great job you do.
I wanted to let you know that AngularFireMessaging has been discontinued.
Firebase already asks for modular mode,
We need to use getMessaging(), onMessage(messaging, (payload) => {
console.log('Message received. ', payload);
// this.message = payload;
});
Could you make an example with the modular form?
hello bro, do you have a new structure on this? the latest version of firebase please help me
i can't retreive the messages in angular
If you are on another window or the window is minimised or if you are on another application then only notifications will appear.
on the same page you won't get the popup notification.
@@thecodingsolution9664 I did not receive the notification either way. using angular 14.2.
It doesn't works, don't follow this video
its is not working
Not working