Push notifications with React and Firebase | Firebase Push Notifications In React

  Рет қаралды 16,041

Technical Rajni

Technical Rajni

Күн бұрын

How to Implement Push Notifications in React Using Firebase
Sending Push Notifications by Using Firebase Cloud Messaging
Push notifications with React and Firebase
Firebase Push Notifications In React
Sending Push Notifications by Using Firebase Cloud
Firebase Push Notifications In React
Please do like share and comment if you like the video please do hit like and if you have any query please write it comment box
NestJs Tutorial • How To install Nest.js...
You can support me by buying a coffee for me
ko-fi.com/N4N0...
Please do subcribe my other video tutorials
React Native Tutorial : • SDK location not found...
ReactJS Tutorial : • Setting Up React Local...
Linux Tutorials : • How to Increase File U...
Jquery Tutorial : • What is jQuery
Html & Css Tutorial : • Introduction to HTML5 ...
Wordpress Tutorial : • How to install wordpre...
Javascript Tutorial : • JavaScript Hello World...
Magento 2 Tutorials : • How to remove a MassA...
Github Tutorials : • Why version control? |...
October CMS Tutorial : • Builder plugin - Octob...
Bash Scripting Tutorial : • Shell Scripting Tutori...
Jenkins Beginner Tutorial : • Jenkins Beginner Tutor...
Apollo Client React Js : • Apollo Client React Tu...
Wordpress Tutorial In Hindi : • What Is Wordpress? - E...
MongoDb Tutorial : • How to Insert a Docume...
Bootstrap 5 Tutorial in Hindi : • Bootstrap 5 Tutorial i...
Xero Tutorial For Beginners : • Xero Tutorial For Begi...
React Material UI = • React Material UI - In...
Thanks for watching
Vue Js Tutorial : • Install Vue.js in Ubun...
Angular 14 Tutorial : • How to install Angular...
MongoDb Tutorial : • How to Insert a Docume...
Mysql Tutorial For Beginners : • How to connect to MySQ...
AWS Tutorials: • How to Create S3 Bucke...
Php Tutorial for Beginners : • How can I send an emai...
Nest
Have a Great Day !!!

Пікірлер: 89
@shadmanfatin777
@shadmanfatin777 8 ай бұрын
Thank you for teaching us. Very difficult stuff. You are a genius bro. May you go a long way Insha Allah ♥♥♥
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
Thanks 😊
@ArtLifeDev
@ArtLifeDev 2 сағат бұрын
Firebase messaging required HTTPS to do that ?
@kanchankothar6411
@kanchankothar6411 Ай бұрын
you should share code as well bro
@muneeburrehman7761
@muneeburrehman7761 4 ай бұрын
I am unable to receive foreground notifications on my react app since it is over HTTP, I want to add ngrok as the callback URL in the FCM. How can I do that?
@TechnicalRajni
@TechnicalRajni 4 ай бұрын
My code is also on http
@ArtLifeDev
@ArtLifeDev 2 сағат бұрын
I also encountered this issue. Have you resolved it? If so, could you offer some advice?
@navaneethdevan-t3y
@navaneethdevan-t3y 6 ай бұрын
i can only see the changes when i click the save button after i come back to vs code ,if i visit any other page then the notification wont work i need to press the save button again in the vs code .what is the issue
@TechnicalRajni
@TechnicalRajni 6 ай бұрын
I need to check
@yousifmobark6981
@yousifmobark6981 2 ай бұрын
i want to pass json data from the server and receive it and make some logic later how to do it
@TechnicalRajni
@TechnicalRajni 2 ай бұрын
@@yousifmobark6981 make a key data pair and react will use that key
@abufaishal5753
@abufaishal5753 9 ай бұрын
are you generating token everytime website loads ? and if yes then can you tell me the reason why ?
@TechnicalRajni
@TechnicalRajni 9 ай бұрын
No why token will be different while reload
@shreyashjain1475
@shreyashjain1475 Күн бұрын
Will this work with react vite
@TechnicalRajni
@TechnicalRajni 19 сағат бұрын
@@shreyashjain1475 yes
@shreyashjain1475
@shreyashjain1475 16 сағат бұрын
@@TechnicalRajni actually some process has been updated please check and make the updated video
@TechnicalRajni
@TechnicalRajni 16 сағат бұрын
@@shreyashjain1475 ok kay
@mansigupta549
@mansigupta549 4 ай бұрын
Firebase messaging is giving error that it's unable to register th default service worker, what should be done at this moment
@TechnicalRajni
@TechnicalRajni 4 ай бұрын
Service workers should be registered to get notification
@abufaishal5753
@abufaishal5753 9 ай бұрын
in my project i am allowing user to install multiple pwa and for each pwa app i am generating new fcm token once and everything is working fine but for android the case is when i install 2nd pwa and generate token by allowing permission then the first pwa is not receiving notification do you know reason why ?. for ios both pwa receiving notification
@TechnicalRajni
@TechnicalRajni 9 ай бұрын
May be you are not sending notification to both check both generated token
@ShrinjoySaha-c4z
@ShrinjoySaha-c4z 8 ай бұрын
Getting this error: "An error occurred while retrieving the token. FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope"
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
You need to check the keys properly
@ShrinjoySaha-c4z
@ShrinjoySaha-c4z 8 ай бұрын
This issue was fixed after adding the service worker to the public folder. But still did not get the notification.
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
Which browser you are checking 🤔
@ShrinjoySaha-c4z
@ShrinjoySaha-c4z 8 ай бұрын
@@TechnicalRajni Chrome and firebox both.
@HamdaouiWassim
@HamdaouiWassim 7 ай бұрын
@@ShrinjoySaha-c4z if u still have this error just create a file named "service-worker.js" on your public folder
@shadmanfatin777
@shadmanfatin777 8 ай бұрын
Bro can you pls tell where can i get the official documentation of this fcm for reactJs?
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
No official documents
@shadmanfatin777
@shadmanfatin777 8 ай бұрын
​@@TechnicalRajniwhy not?! 🥺 i want to apply features like when user clicks on the notification, it will redirect to the website. How can i do that?
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
@@shadmanfatin777 when you get notifications just add redirection click
@shadmanfatin777
@shadmanfatin777 8 ай бұрын
​​@@TechnicalRajnii dont know how to add redirection click to a notification :/
@Jefferson4026
@Jefferson4026 7 ай бұрын
The api fcm need autorization value , what is that? Im your video doesnt show
@TechnicalRajni
@TechnicalRajni 7 ай бұрын
Yes it requires let me check
@javhaasuhochir8126
@javhaasuhochir8126 5 ай бұрын
Hello. when background message received I want to change a context state. but since background message listener is in the public folder I cannot do anything normally do in src folder. Is it available to do that?
@TechnicalRajni
@TechnicalRajni 5 ай бұрын
What you want to achieve
@javhaasuhochir8126
@javhaasuhochir8126 5 ай бұрын
@@TechnicalRajni i have a sidebar. in it there is a Notification section and it has badge(that counts new messages). and that message variable is in a context. i should update that context badge variable.
@BasimKM
@BasimKM Жыл бұрын
show error The script has an unsupported MIME type ('text/html').
@TechnicalRajni
@TechnicalRajni Жыл бұрын
Need to check or you can check settings
@bezerrac
@bezerrac Жыл бұрын
i got the same message, so the code cant generate a token, did u resolve then?
@biaali4590
@biaali4590 Жыл бұрын
If you are using reactjs add service worker file in public folder
@HuyChanel1415
@HuyChanel1415 11 ай бұрын
@@biaali4590 How to add service worker file in public folder, please.
@biaali4590
@biaali4590 11 ай бұрын
@@HuyChanel1415 do you have firebase-messaging-sw.js file?
@MMCGlobalPCAA
@MMCGlobalPCAA 8 ай бұрын
i m getting notification on every browser but not in safari
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
I haven't check on safari
@ITSUPPORT-u9j
@ITSUPPORT-u9j 10 ай бұрын
Man I watched all this just for you to show me that you are sending a notification directly from their test form? you serious?
@TechnicalRajni
@TechnicalRajni 10 ай бұрын
What happen
@ITSUPPORT-u9j
@ITSUPPORT-u9j 10 ай бұрын
@@TechnicalRajni I don't want to use firebase test to send notifications, I want my notification box to appear whenever my user posts something, you don't show us how to send title and body to firebase so that it notifies my users.
@TechnicalRajni
@TechnicalRajni 10 ай бұрын
@@ITSUPPORT-u9j ohh I need to update the tutorial then
@rajeevkumarsingh1718
@rajeevkumarsingh1718 Жыл бұрын
If it’s not working using using Google api then it of no use for me
@TechnicalRajni
@TechnicalRajni 4 ай бұрын
It will work with fcm
@afsalafzi6600
@afsalafzi6600 Жыл бұрын
Can we send notification using nodejs
@TechnicalRajni
@TechnicalRajni Жыл бұрын
Need to check ✅
@rfryanfavour4369
@rfryanfavour4369 11 ай бұрын
BRO DELETE SOME OF YOUR FIREBASE DEMO PROJECTS PLEASE DONT KILL GOOGLE FOR US... ANY WAYS THANKS FOR THE TUTORIAL
@TechnicalRajni
@TechnicalRajni 11 ай бұрын
Why I will delete something wrong 😔
@Anonymous-v3j2d
@Anonymous-v3j2d Жыл бұрын
Hi can i get the code also which version u r using
@TechnicalRajni
@TechnicalRajni Жыл бұрын
"firebase": "^9.22.0",
@sinistergaming513
@sinistergaming513 8 ай бұрын
caN YOU PROVIDE THE GIT HUB LINK FOR THIS
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
Any issues you are facing
@sinistergaming513
@sinistergaming513 8 ай бұрын
@@TechnicalRajni yes triggering notification on the fire base using my fcm tocken is not toasting the notification on the app
@TechnicalRajni
@TechnicalRajni 8 ай бұрын
@@sinistergaming513 check that token with firebase notification coming into the console
@sinistergaming513
@sinistergaming513 8 ай бұрын
@@TechnicalRajni yeah i fixed it....idk why but when i tested on edge its qorking....something issue with the chrome i think
@ZuhaibSubhanRayan
@ZuhaibSubhanRayan 7 ай бұрын
hi there, i need the sample code ? can you share me github link ?
@TechnicalRajni
@TechnicalRajni 7 ай бұрын
Yes sure but you need to try first if any issue then sure I will share ☺️
@fahiyangtech
@fahiyangtech 10 ай бұрын
@TechnicalRajni
@TechnicalRajni 10 ай бұрын
Thanks
@olanazly4412
@olanazly4412 Жыл бұрын
how to subscribe To Topic with react and firebase?
@TechnicalRajni
@TechnicalRajni Жыл бұрын
Didn't get your point
@olanazly4412
@olanazly4412 Жыл бұрын
I want to send multiple devices from firebase and subscription topics
@olanazly4412
@olanazly4412 Жыл бұрын
Messaging: This browser doesn't support the API's required to use the Firebase SDK. (messaging/unsupported-browser). in mac mobile i get this message how to fix this ? @@TechnicalRajni
@abhilekhsingh8463
@abhilekhsingh8463 9 ай бұрын
plz share the code
@TechnicalRajni
@TechnicalRajni 9 ай бұрын
what issue you are facing ?
@react.dev.28
@react.dev.28 Жыл бұрын
I want react code
@TechnicalRajni
@TechnicalRajni Жыл бұрын
Please let me know any issue u are facing
@saint115io
@saint115io Жыл бұрын
i can't understand u video bro
@TechnicalRajni
@TechnicalRajni Жыл бұрын
How can I help you?
@cyberaakash-k4q
@cyberaakash-k4q 4 ай бұрын
bro you are making hard to see the code. why cant you just share the code. Anyway in this video, after you send the post api through postman, no notification is received in your video itself. you are just making us fool to watch the complete video. But the actual output is none.
@TechnicalRajni
@TechnicalRajni 4 ай бұрын
Okay I am so sorry 😔 I will upload full video again with all your doubts related to code not showing and all then you can check I have video regarding nextjs 14 firebase push notifications you can also check
@cyberaakash-k4q
@cyberaakash-k4q 4 ай бұрын
@@TechnicalRajni i can understand why you are not sharing the code, but see atleast show the code clearly.
@cyberaakash-k4q
@cyberaakash-k4q 4 ай бұрын
i want to send push local notification using react and firebase cloud messaging. Could you tell me which video should i watch to make it work.
@TechnicalRajni
@TechnicalRajni 4 ай бұрын
@@cyberaakash-k4q no issue I will definitely work on it thanks 🙏
@cyberaakash-k4q
@cyberaakash-k4q 4 ай бұрын
@@TechnicalRajni do you have any group or chat?
Sending Push Notifications by Using Firebase Cloud Messaging
2:22
Technical Rajni
Рет қаралды 1,3 М.
Push Notifications with Service worker
14:15
Akilesh Rao
Рет қаралды 33 М.
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 72 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 14 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 46 МЛН
Engage users with Firebase Cloud Messaging
25:33
Firebase
Рет қаралды 22 М.
How to send browser push notifications from a Node.js app
15:05
Why you’re so tired
19:52
Johnny Harris
Рет қаралды 1,2 МЛН
Expo 50+ Push Notifications (React Native)
11:50
Native Notify
Рет қаралды 3,5 М.
How To Send Push Notifications With JavaScript?
18:51
Piyush Garg
Рет қаралды 41 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 61 М.