Send Android Push Notifications Using Firebase Cloud Messaging | Android Studio (With Source Code)

  Рет қаралды 64,982

BoostMyTool

BoostMyTool

Күн бұрын

Пікірлер: 73
@techsangrah3982
@techsangrah3982 2 жыл бұрын
very helpful for me. i have see many other videos but i can't understand thank you for this simple tutorial
@aamirhoda7363
@aamirhoda7363 2 жыл бұрын
Sweet & Simple Tutorial for understanding Notifications. Precise to the point. 🤩
@chucklesome1275
@chucklesome1275 Жыл бұрын
Toast Display: In your sendNotification() method, you're attempting to display a Toast message from a background thread by using a Handler to post the operation on the main looper. However, the FirebaseMessagingService already runs on the main thread, so there's no need for the Handler. You can directly display the Toast without the Handler'
@dlentertainment9917
@dlentertainment9917 2 жыл бұрын
What an amazing video. I don't usually comment but you deserve it :D
@minhthanhnguyen8936
@minhthanhnguyen8936 2 жыл бұрын
Thank you very much. Very useful, it resolve my problem which took me 4 days to find out
@Sashikx_zxc
@Sashikx_zxc 3 ай бұрын
Thank you so much! Super! You're great!
@priscillavannyamelia8736
@priscillavannyamelia8736 Жыл бұрын
simple and easy to understand tutorial
@randomweins4894
@randomweins4894 2 жыл бұрын
clear and specific tutorial, very Good. keep going on this... I am sure you will get much support...
@BoostMyTool
@BoostMyTool 2 жыл бұрын
thank you
@joserubensferreira7244
@joserubensferreira7244 Жыл бұрын
Top, excellent tutorial, simple and objective. Thank you!
@jaxxrr
@jaxxrr 10 ай бұрын
did everything got the token but when I try to test it no message arrives.. not even in background..
@ElectroCoderEC
@ElectroCoderEC Жыл бұрын
Niceeeeeeeeeeeee amazing so simple and fast. That's All :)
@oleksandr3275
@oleksandr3275 Жыл бұрын
Thank you, it works exactly as in video👍
@sureshveerasamy1422
@sureshveerasamy1422 Жыл бұрын
Very Good Learning....Thanks a Lot for your Lesson.👌
@srgIt
@srgIt Жыл бұрын
best example for beginner and way of explain is very simple point to point, I am trying push notification first time and this tutorial is solve my complete problem
@naseerjamal1934
@naseerjamal1934 2 жыл бұрын
Good job bro. It helped me a lot. the easiest of all.
@supunvithana7169
@supunvithana7169 2 жыл бұрын
Love this tutorial. Very simple and clear
@vijayvelayutham7135
@vijayvelayutham7135 2 жыл бұрын
Hi, your tutorial is simple and neat. First time i tried with a project and i got to a point that i could generate the FMC token but i couldnt have the messages been pushed to the emulator. Created a new project and retried but this time, its stopped at ":E/FirebaseMessaging: Topic sync or token retrieval failed on hard failure exceptions: java.util.concurrent.ExecutionException: java.io.IOException: AUTHENTICATION_FAILED. Won't retry the operation." I couldnt even get the FCM token, Everytime i create a new FB project in FB console. Has anyone experienced the same? I use Pixel 5 API 22, 32, 30
@kamil2k111
@kamil2k111 Жыл бұрын
Thanks a Lot for your Lesson
@rafaelkontein2683
@rafaelkontein2683 2 жыл бұрын
Sou Brasileiro, Parabens pelo video!!!!!!!!! muito bom !!
@manjilapp9578
@manjilapp9578 2 жыл бұрын
Awesome tutorial brother...
@Kaito-rt4ux
@Kaito-rt4ux Жыл бұрын
How to implement a fixed notification message that will appear in both foreground and background that only triggers by conditional statements?
@dineshchamara3550
@dineshchamara3550 Жыл бұрын
Tnx very simple 😘😘😘😘😘😘
@MrJorgeUriarte
@MrJorgeUriarte 2 жыл бұрын
Great Tutorial!.. Thanks for sharing
@zeris3134
@zeris3134 2 жыл бұрын
thank you for the video question is it okay not to display the token on the main activity and just when clicking the notification it just opens the main activity?
@daahqaadchannel5399
@daahqaadchannel5399 2 жыл бұрын
Thanks For the best Explanation 👌
@aminshafiq2534
@aminshafiq2534 Жыл бұрын
sorry how did he generate that toast message code at 13:12
@yusufmustari
@yusufmustari 2 жыл бұрын
Thank you sir!!! It was very useful!!
@kshorts7726
@kshorts7726 Жыл бұрын
Best explanation
@evangelistar
@evangelistar 9 ай бұрын
Great video
@pablotandil7000
@pablotandil7000 2 жыл бұрын
Thanks very much, from Argentina! Excelente video!
@adar3997
@adar3997 2 жыл бұрын
There is a way to do it automatically (without clicking manually on the button in the firebase website)?
@Kaito-rt4ux
@Kaito-rt4ux Жыл бұрын
Im waiting for this question to be answered please before our project defense
@johanromuald6166
@johanromuald6166 2 жыл бұрын
Thank you very much. Google should learn from you, how to create tutorial and documentation. Further if I have the token id, can I develop my own pc based application to send notification to phones via Firebase cloud messaging without suing cloud console. Thanks
@abhisheksinghal4470
@abhisheksinghal4470 2 жыл бұрын
Nice Explanation !!
@JafarSiddikee
@JafarSiddikee 2 жыл бұрын
Hi. Very useful tutorial. I am facing issue with android 12. When app closed its not getting push notification. But upto android 11 its working. Can you please suggest about android 12 related issue
@johanna-y5v
@johanna-y5v 2 жыл бұрын
Thank you!!! It was very useful!!
@neiltonna8737
@neiltonna8737 Жыл бұрын
King, thank you !!
@АндрейБабаш-ю9п
@АндрейБабаш-ю9п Жыл бұрын
Cool tutorial!
@fatonpodrimqaku1793
@fatonpodrimqaku1793 Жыл бұрын
Love You Brroder
@vincentluo3292
@vincentluo3292 Жыл бұрын
I have tried many time , I success got the token in virtual device phone ,but virtual device phone nerver receive Topic message from FCM consol.....Help ....
@surgicalsystemsg4277
@surgicalsystemsg4277 2 жыл бұрын
Hey man, awesome tutorial. Could you please guide me on how to get the device token while using webview
@mragent_47_80
@mragent_47_80 2 жыл бұрын
i need to know asap too please
@SkySea1993
@SkySea1993 2 жыл бұрын
Thank you 💗
@starttoday1522
@starttoday1522 Жыл бұрын
How to send this notification to already installed device ( using pakage name)
@TheChronosTyle
@TheChronosTyle 2 жыл бұрын
will the background notification still work even if the app just terminated?
@blueeyes9691
@blueeyes9691 Жыл бұрын
Thanks youuuuu
@kamal7304
@kamal7304 Жыл бұрын
Hi, can you help me please
@AmazingRealityKH
@AmazingRealityKH 2 жыл бұрын
send notification InApp not working? can you show me?
@SandhiyaS-o4u
@SandhiyaS-o4u Жыл бұрын
I didn't receive the push notification is it have any alternative solutions??????
@kristopherortiz1049
@kristopherortiz1049 2 жыл бұрын
greetings, I hope all is well. I generated a debug apk and noticed it isnt receiving any notifications. i added the sha1 key to it. it only works when i install the app directly to my device. do i need to do any further steps so this works? thank you in advance!
@m.arslan-mas6775
@m.arslan-mas6775 2 жыл бұрын
not working on android version 10
@starttoday1522
@starttoday1522 Жыл бұрын
Do you know how to send notification on installed device?😢 Sir
@sederafanomezana7805
@sederafanomezana7805 2 жыл бұрын
Thank you!
@prowsebenedict2015
@prowsebenedict2015 2 жыл бұрын
Is there a way to send notifications to multiple devices but not only one device? Thanks
@starttoday1522
@starttoday1522 Жыл бұрын
Do you know how to send notification on installed device?😢 Sir
@sanjibbarma9542
@sanjibbarma9542 2 жыл бұрын
not working on real device what should i do??
@rektgaming69
@rektgaming69 2 жыл бұрын
Next video on Google authentication :)
@bigstrongrobot1330
@bigstrongrobot1330 2 жыл бұрын
13:09 what have you done here please !! How did you display this
@BoostMyTool
@BoostMyTool 2 жыл бұрын
you cannot display the toast from the service. the service should inform the activity to display a toast
@aamirhoda7363
@aamirhoda7363 2 жыл бұрын
Service would probably be running on a worker thread (other than the Main UI thread), thus you can't interact with anything on the main thread. So in order to interact with the main thread on the background thread, one can use a "Handler" with "Looper.getMainLooper()" as parameter, to pass events (in this case, a mere toast) to the main thread.
@devendragiriaparanathi9207
@devendragiriaparanathi9207 2 жыл бұрын
How to add accept reject button in notification
@kevovoke
@kevovoke 2 жыл бұрын
How do I automate this
@creativesolutionbd
@creativesolutionbd 2 жыл бұрын
Download link not working
@thinq5339
@thinq5339 Жыл бұрын
not received on device
@starttoday1522
@starttoday1522 Жыл бұрын
Please upload video i want to send notification for all users who are all installed my application using pakage name😢😢😢
@visibleuser8973
@visibleuser8973 2 жыл бұрын
thnx bro
@josephd.1447
@josephd.1447 2 жыл бұрын
13:07 how to display a toast ???
@josephd.1447
@josephd.1447 2 жыл бұрын
Reply ASAP Please
@BoostMyTool
@BoostMyTool 2 жыл бұрын
Toast.makeText(this, "your message here", Toast.LENGTH_LONG).show();
@gautamshenoy6170
@gautamshenoy6170 2 жыл бұрын
Whats the point ?
@starttoday1522
@starttoday1522 Жыл бұрын
I am waiting for your reply sir 😢
19 FCM Push Notification | Chat application | Android Studio
14:04
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 64 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 68 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 58 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 115 МЛН
Firebase Cloud Messaging API (v1) Tutorial
9:13
Native Notify
Рет қаралды 89 М.
Путин ответил на угрозы Трампа
7:21
Diplomatrutube
Рет қаралды 3,1 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 64 МЛН