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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 42

  • @rohit.ayadav
    @rohit.ayadav 8 วันที่ผ่านมา

    I am little worried after seeing your subscriber number

  • @jatin2829
    @jatin2829 7 หลายเดือนก่อน +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  7 หลายเดือนก่อน +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 7 หลายเดือนก่อน

      @@WebDevMatrix thanks bro 🙏

  • @mainafamily-h1e
    @mainafamily-h1e 5 หลายเดือนก่อน +3

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

  • @honeykumar-v4k
    @honeykumar-v4k 6 หลายเดือนก่อน +1

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

  • @sobanwaqar1192
    @sobanwaqar1192 2 หลายเดือนก่อน

    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

  • @anwareskeef2564
    @anwareskeef2564 หลายเดือนก่อน

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

  • @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 หลายเดือนก่อน +3

      Fixed. i put the wrong vapidKey

  • @shubhambaragi4210
    @shubhambaragi4210 3 หลายเดือนก่อน

    how can i send the notification for evevry 30 minutes

  • @koladeadeyeye9660
    @koladeadeyeye9660 5 หลายเดือนก่อน +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!

  • @Odidi_Bee6ix
    @Odidi_Bee6ix 4 หลายเดือนก่อน +1

    Thanks for this gem.
    Pls do firebase push notification nextjs

  • @Imohy69
    @Imohy69 หลายเดือนก่อน

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

  • @abhijithhnair9914
    @abhijithhnair9914 3 หลายเดือนก่อน

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

  • @vishalahir9179
    @vishalahir9179 5 หลายเดือนก่อน +1

    Good job web dev Matrix

  • @felipe1502
    @felipe1502 7 หลายเดือนก่อน +1

    work perfect, thanks for this!

  • @eduardorpg64
    @eduardorpg64 หลายเดือนก่อน

    Your tutorial has helped me quite a lot! Thanks!

  • @aniket1008
    @aniket1008 4 หลายเดือนก่อน

    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

  • @africtv5842
    @africtv5842 6 หลายเดือนก่อน +1

    Very good on bro... 100

  • @tomtobar266
    @tomtobar266 7 หลายเดือนก่อน +1

    Great video - thank you!

  • @AlexUdeogu
    @AlexUdeogu 3 หลายเดือนก่อน

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

  • @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

  • @phamvanhan7037
    @phamvanhan7037 2 หลายเดือนก่อน

    Awesome! Thank you for this video.

  • @tataotp3559
    @tataotp3559 4 หลายเดือนก่อน

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

  • @farrukh28
    @farrukh28 3 หลายเดือนก่อน

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

  • @fyfyfyfyfy
    @fyfyfyfyfy 4 หลายเดือนก่อน

    Thanks buddy! Easy and it worked

  • @kien.14
    @kien.14 9 หลายเดือนก่อน +1

    Thanks man!

  • @buntykhipal5103
    @buntykhipal5103 4 หลายเดือนก่อน

    thank you for making video.

  • @MohitKumar-nf5jn
    @MohitKumar-nf5jn 9 หลายเดือนก่อน +1

    This is great video too helpfull

    • @WebDevMatrix
      @WebDevMatrix  9 หลายเดือนก่อน

      Thanks for your comment and support!

  • @MohamedMahmoud-pe6qm
    @MohamedMahmoud-pe6qm 8 หลายเดือนก่อน +1

    Thanks man god bless you 🙏❤

    • @WebDevMatrix
      @WebDevMatrix  8 หลายเดือนก่อน

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

  • @wicia2968
    @wicia2968 หลายเดือนก่อน

    Very good video :)

  • @JavierMora-r4v
    @JavierMora-r4v 7 หลายเดือนก่อน

    thank you for this video, bro

  • @subashg-nf4xo
    @subashg-nf4xo 3 หลายเดือนก่อน

    nice thank you

  • @irisconnection_Official
    @irisconnection_Official 2 หลายเดือนก่อน

    Brilliant!

  • @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