Send Push Notification in Angular + Firebase

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 33

  • @MrSteveHaran
    @MrSteveHaran 18 днів тому

    Is this a silent movie?

  • @bansivaniya1393
    @bansivaniya1393 2 роки тому +5

    i got this error--- FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope

    • @bansivaniya1393
      @bansivaniya1393 2 роки тому

      How to solve?

    • @thecodingsolution9664
      @thecodingsolution9664  2 роки тому +1

      Your service worker is not registered in the app component, please try to register it or else watch the video and follow each steps.

    • @bansivaniya1393
      @bansivaniya1393 2 роки тому +1

      @@thecodingsolution9664 not work

    • @thecodingsolution9664
      @thecodingsolution9664  2 роки тому

      share me the screenshot of an error at pawansoni6789@gmail.com

    • @bansivaniya1393
      @bansivaniya1393 2 роки тому

      @@thecodingsolution9664 ok

  • @Eyezbergslim
    @Eyezbergslim Рік тому

    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?

  • @rodrigobrechard2999
    @rodrigobrechard2999 2 роки тому

    why are you using firebase 6.1.4 instead of the latest version?

    • @thecodingsolution9664
      @thecodingsolution9664  2 роки тому

      we can use the latest version. I am using firebase 6.1.4 because I was getting some depreciation in other libraries.

    • @rodrigobrechard2999
      @rodrigobrechard2999 2 роки тому

      @@thecodingsolution9664 @angular/fire@6.1.4 does not support angular 12 though

  • @pavankumarupadrista8762
    @pavankumarupadrista8762 Рік тому

    not getting notfications when app is inactive, service-workers also enabled, not getting any error also

  • @avi990001
    @avi990001 2 роки тому

    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

  • @MrJhooool
    @MrJhooool 7 місяців тому +1

    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?

  • @barrenecheasistema7968
    @barrenecheasistema7968 Рік тому

    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?

    • @eddiesonvergara5995
      @eddiesonvergara5995 Рік тому

      hello bro, do you have a new structure on this? the latest version of firebase please help me

  • @younesshallaoui1161
    @younesshallaoui1161 2 роки тому

    i can't retreive the messages in angular

    • @thecodingsolution9664
      @thecodingsolution9664  2 роки тому

      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.

    • @KaleemUllah-cw8so
      @KaleemUllah-cw8so Рік тому

      @@thecodingsolution9664 I did not receive the notification either way. using angular 14.2.

  • @FranciscoTrucco
    @FranciscoTrucco Рік тому +1

    It doesn't works, don't follow this video

  • @jolugama
    @jolugama Рік тому

    its is not working

  • @nafrontfazie2729
    @nafrontfazie2729 Рік тому +1

    Not working