How to Add Push Notifications using Firebase | In ReactJs | To Boost User Engagement

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • НаукаНаука

Комментарии • 40

  • @koladeadeyeye9660
    @koladeadeyeye9660 4 месяца назад +2

    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!

  • @Imohy69
    @Imohy69 15 дней назад

    That's so prefect, unique and well explained, thankyou

  • @user-zs2ds9kf7y
    @user-zs2ds9kf7y 5 месяцев назад +3

    Of all the videos I've watched so far regarding firebase messaging, this has been the most useful. Great job man

  • @Odidi_Bee6ix
    @Odidi_Bee6ix 3 месяца назад +1

    Thanks for this gem.
    Pls do firebase push notification nextjs

  • @eduardorpg64
    @eduardorpg64 Месяц назад

    Your tutorial has helped me quite a lot! Thanks!

  • @farrukh28
    @farrukh28 3 месяца назад

    Thanks for the great video. Simple and straight to the point

  • @phamvanhan7037
    @phamvanhan7037 Месяц назад

    Awesome! Thank you for this video.

  • @felipe1502
    @felipe1502 6 месяцев назад +1

    work perfect, thanks for this!

  • @vishalahir9179
    @vishalahir9179 4 месяца назад +1

    Good job web dev Matrix

  • @fyfyfyfyfy
    @fyfyfyfyfy 3 месяца назад

    Thanks buddy! Easy and it worked

  • @tomtobar266
    @tomtobar266 7 месяцев назад +1

    Great video - thank you!

  • @MohamedMahmoud-pe6qm
    @MohamedMahmoud-pe6qm 8 месяцев назад +1

    Thanks man god bless you 🙏❤

    • @WebDevMatrix
      @WebDevMatrix  8 месяцев назад

      Thanks for the beautiful comment, it made my day ❤️

  • @user-jr4yx2jg3x
    @user-jr4yx2jg3x 2 месяца назад

    Thank you soo much for this vid, is there any way you could guide me on sending notifications based of a user defined time

  • @buntykhipal5103
    @buntykhipal5103 3 месяца назад

    thank you for making video.

  • @africtv5842
    @africtv5842 5 месяцев назад +1

    Very good on bro... 100

  • @MohitKumar-nf5jn
    @MohitKumar-nf5jn 8 месяцев назад +1

    This is great video too helpfull

    • @WebDevMatrix
      @WebDevMatrix  8 месяцев назад

      Thanks for your comment and support!

  • @kien.14
    @kien.14 8 месяцев назад +1

    Thanks man!

  • @jatin2829
    @jatin2829 6 месяцев назад +2

    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🙏

    • @WebDevMatrix
      @WebDevMatrix  6 месяцев назад +1

      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

    • @jatin2829
      @jatin2829 6 месяцев назад

      @@WebDevMatrix thanks bro 🙏

  • @wicia2968
    @wicia2968 Месяц назад

    Very good video :)

  • @user-dm6pq2et7y
    @user-dm6pq2et7y 6 месяцев назад

    thank you for this video, bro

  • @anwareskeef2564
    @anwareskeef2564 11 дней назад

    hiii , why we can not use modular API ? and if we can how to use it ?

  • @sobanwaqar1192
    @sobanwaqar1192 Месяц назад

    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

  • @user-cf4kw2mg5o
    @user-cf4kw2mg5o 5 месяцев назад +1

    FirebaseError: Messaging: We are unable to register the default service worker

  • @subashg-nf4xo
    @subashg-nf4xo 3 месяца назад

    nice thank you

  • @abhijithhnair9914
    @abhijithhnair9914 3 месяца назад

    I am receiving 2 notification for 1 request .Did any one received duplicate notification

  • @aniket1008
    @aniket1008 3 месяца назад

    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

  • @shubhambaragi4210
    @shubhambaragi4210 2 месяца назад

    how can i send the notification for evevry 30 minutes

  • @satishsahu7601
    @satishsahu7601 7 месяцев назад +1

    Thankyou sir for this video and its working on chrome but not working ios and mac os safari .please suggest any solution

    • @WebDevMatrix
      @WebDevMatrix  7 месяцев назад +1

      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/

    • @satishsahu7601
      @satishsahu7601 7 месяцев назад

      @@WebDevMatrix thankyou sir

  • @tataotp3559
    @tataotp3559 3 месяца назад

    thanks bro,
    it is not working on android pwa app, please help

  • @Hareshitaliya1
    @Hareshitaliya1 7 месяцев назад

    can i have source code sir..

    • @WebDevMatrix
      @WebDevMatrix  7 месяцев назад

      You can refer to this quickstart repo files for the code: github.com/firebase/quickstart-js/tree/master/messaging

  • @mygmail29
    @mygmail29 6 месяцев назад +2

    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.

    • @mygmail29
      @mygmail29 6 месяцев назад +2

      Fixed. i put the wrong vapidKey