Smart Push Notifications with Flutter & FCM

  Рет қаралды 218,516

Fireship

Fireship

Күн бұрын

Пікірлер: 233
@detpikachu
@detpikachu 5 жыл бұрын
As a mostly backend programmer, I have to admit, your videos make me want to get more and more into front-end. Keep up the good work!
@adamn1973
@adamn1973 4 жыл бұрын
Love the vids and use them but wanted to over a couple critiques: 1) It is sometimes difficult to follow where in the scope of the code you are currently editting because you have a habit of deleting code segments and then cutting that action from the video... so, for example, we don't necessarily know which class's "initState()" we are in. 2) The videos seem like you've speeded them up by default... or maybe I'm getting old. Anyway... as a possible solution to "critique #1" you could speed up segments of code editting/navigation as a video transition style instead of editting them out which is more jarring.
@dylanralph1447
@dylanralph1447 3 жыл бұрын
i guess it is pretty off topic but do anybody know of a good website to watch newly released movies online?
@jasejesse8308
@jasejesse8308 3 жыл бұрын
@Dylan Ralph flixportal :)
@dylanralph1447
@dylanralph1447 3 жыл бұрын
@Jase Jesse Thank you, I went there and it seems like a nice service :D I really appreciate it !
@jasejesse8308
@jasejesse8308 3 жыл бұрын
@Dylan Ralph Glad I could help =)
@jc7148
@jc7148 5 жыл бұрын
Great video on FCM! You are a huge motivation to all the dev people out there.
@wontonfuton
@wontonfuton 5 жыл бұрын
Understood almost nothing because I have not still got my hands dirty with firebase in flutter but still watched it full and loved it. I don't know why everything seems so perfect about your videos.
@tenj
@tenj 2 жыл бұрын
When I struggle with something and find a video on your channel for it, my mental health increases.
@adriaanduplessis7371
@adriaanduplessis7371 4 жыл бұрын
Since I am very new to Flutter and Push Notifications, I can honestly say that this helped me implement Push Notifications in my first app. Fireship content is amazing. Thank you very much for the excellent videos.
@hikaiix
@hikaiix 5 жыл бұрын
I'll definitely start your course on flutter. Not the first video I've watch on it and I really need to try it. Anyway, thanks for the content you offer us, always happy to receive a KZbin notification when a new video is out!
@virtualmindwave
@virtualmindwave 5 жыл бұрын
Fireship always amazes me with quality content! Keep it up!
@darshangowda309
@darshangowda309 5 жыл бұрын
This is awesome! FCM can get confusing at times with so many types of payloads.
@isaacrobot
@isaacrobot 5 жыл бұрын
fireship channel is my favorite go-to on all firebase content
@RPSNaik
@RPSNaik 5 жыл бұрын
Each time I watch ur videos I understand various mistakes that I am doing while creating flutter app... Thank you for everything 🙏 Namaste
@OmarAbdelaziz__47
@OmarAbdelaziz__47 2 жыл бұрын
You saved me a lot of time knowing all I need, thank you Fireship
@MahbuburRahman-uc7np
@MahbuburRahman-uc7np 3 жыл бұрын
ZERO Dislike. Just shows the quality of this video.
@satyam3762
@satyam3762 2 жыл бұрын
Dude, KZbin don't show dislikes anymore 😂😂
@cakemnstr42
@cakemnstr42 5 жыл бұрын
you got me to try flutter again, going wayy better than the first time. Keep up the great work!
@chien-kaikevinma9588
@chien-kaikevinma9588 5 жыл бұрын
Currently learning Flutter :) Thx for your videos.
@asankaiddamalgoda5503
@asankaiddamalgoda5503 5 жыл бұрын
This is the best one out of the lot for FCM
@brokenumbrellagames
@brokenumbrellagames 5 жыл бұрын
Love your content! Keep on keeping on!
@yogenp
@yogenp 5 жыл бұрын
Jeff, you'd outdone yourself. I thought 'Ok, perhaps he is only going to cover the FCM through console part. But, most of my FCM done through cloud functions?!'. Then, boom. Love this thorough and comprehensive content. Love the longer video. Hoping your video is getting monetized for your efforts. I do hope to sign up for Fireship lifetime membership one day.
@leafdriving
@leafdriving 5 жыл бұрын
Thank you for explaining at the correct speed! I learn WAY faster with you!
@richard2845
@richard2845 2 ай бұрын
this is what I'm looking for. Thanks so much
@billubaziger
@billubaziger 5 жыл бұрын
As a junior dev, i just watch your videos for intros
@otheraw5659
@otheraw5659 5 жыл бұрын
yeah me too, it might a little bit too fast but that's what I love from this channel. It gives me a fast overview on How to, so I can follow it up easier.
@alexedwards7679
@alexedwards7679 5 жыл бұрын
Always watching to fund out what I didn't think of myself 😂
@zebcode
@zebcode 3 жыл бұрын
Hours of searching as to why the background notifications don't work... then I check out this video and find out in less than 5 minutes... I'm already a pro member... why did I not come here first?! Thank you for the awesome video!
@makemypetgamedevprocess6475
@makemypetgamedevprocess6475 3 жыл бұрын
Awesome tutorial Fireship, keep it up💪
@Hades5k
@Hades5k 5 жыл бұрын
And yet another great video. Short and sweet. Thanks alot!! You're a real time saver!
@amitverma14ster
@amitverma14ster 4 жыл бұрын
Thanks for nice tutorial. I was wondering how you can show the snackbar when the user is active on some other screen.
@christianwheeler8441
@christianwheeler8441 5 жыл бұрын
Epic Fireship Shirt > Add To Cart. Payment Method > Witty Comment.
@hakimhassani97
@hakimhassani97 5 жыл бұрын
that's what i needed for this week's task x)
@whoman0385
@whoman0385 Жыл бұрын
Great video! just one problem, cloud functions are only for the blaze plan now..
@mawulijo
@mawulijo 5 жыл бұрын
We are sync Jeff, we are in sync. My number 1 stop shop for serious real app solutions.
@faizkazi2789
@faizkazi2789 5 жыл бұрын
Was looking for this. Great work bro
@Fintan91
@Fintan91 5 жыл бұрын
Looks great, can't wait to give it a go
@clipslive1156
@clipslive1156 5 жыл бұрын
sweet fireship T-shirt bro
@stevewlasichuk
@stevewlasichuk 5 жыл бұрын
Yay was looking into getting started with FCM
@agreensh
@agreensh 5 жыл бұрын
Nice and concise explanations. Keep up the good work!
@xtraszone
@xtraszone 3 жыл бұрын
I have created these packages: 1. super_easy_in_app_purchase 2. super_easy_permissions These will make your life a lot easier :-)
@nicoteufel
@nicoteufel 4 жыл бұрын
Thank you for this! I will use the same techniques now in my project.
@igorkuna290
@igorkuna290 5 жыл бұрын
Can't wait to use this on the new app I'm building :) awesome stuff!
@davidkiguta8227
@davidkiguta8227 4 жыл бұрын
this was extra helpful, you never disappoints 😊👍
@sadabwasim9850
@sadabwasim9850 5 жыл бұрын
How you manage to cover that much info in such a small video, great work, keep it up.😊👍
@cos_marc
@cos_marc 4 жыл бұрын
Awesome content as always! The only missing part is how do you manage the tokens when a user uninstalls your app. Would be cool if anyone can reply on this topic 😊
@siri3359
@siri3359 3 жыл бұрын
Hey thank you for this great video. Can you please slow down a bit or create a series of the fcm flutter videos that could help me follow along :) Thank you :)
@thelegend3720
@thelegend3720 5 жыл бұрын
Great video! Very well explained and very concise.
@GeneLimWernMin
@GeneLimWernMin 5 жыл бұрын
Love the knowledge gained from your videos!
@wmfadel
@wmfadel 5 жыл бұрын
Amazing content just as expected from you
@dithmal
@dithmal 5 жыл бұрын
Thanks for the deeper insight!
@olamarche
@olamarche 5 жыл бұрын
Oh yeah! Right in time for my app!
@vadimosovsky
@vadimosovsky 5 жыл бұрын
More Flutter please!
@murtazavohra360
@murtazavohra360 4 жыл бұрын
what happens if the user uninstalls the app will he/she still receive notifications and also if the user logins from multiple devices all devices won't get notifications by this method.
@akbarrafs
@akbarrafs 3 жыл бұрын
how to add the notification sound?
@jeromestsauver
@jeromestsauver 5 жыл бұрын
love this channel
@akashbansal6216
@akashbansal6216 4 жыл бұрын
great great great everything is working very well
@austin_bean
@austin_bean 5 жыл бұрын
Looks awesome!
@arturbegyan5207
@arturbegyan5207 5 жыл бұрын
Want the T-shirt, amazing tutorials btw
@andyjagroom.3878
@andyjagroom.3878 3 жыл бұрын
Me too
@NitishKumarSingh
@NitishKumarSingh 5 жыл бұрын
One year ago, I also did a video about *Flutter Firebase Messaging Tutorial* video.
@Fireship
@Fireship 5 жыл бұрын
Nice, I'll check that out
@erwin6277
@erwin6277 5 жыл бұрын
this is awesome! one question tho ... can we send ptp (phone to phone or user to user) notification via firebase?in flutter
@debkanchan
@debkanchan 5 жыл бұрын
Yes. it's possible if you know the recipients fcm token
@katherinhernandez9548
@katherinhernandez9548 4 жыл бұрын
@@debkanchan I need to implement that in my application, can you tell me how to do it?
@CONNANCHO
@CONNANCHO 4 жыл бұрын
@@debkanchan I need to implement that in my application, can you tell me how to do it?
@debkanchan
@debkanchan 4 жыл бұрын
@@CONNANCHO you need to get users fcm token then save it somewhere in the database
@CONNANCHO
@CONNANCHO 4 жыл бұрын
@@debkanchan please send me a message on whatsapp +573178756258. Thank you
@iamyogik
@iamyogik 5 жыл бұрын
Hola. I am Korean but I did not recieve your notification 😂. Btw great video.
@softwareengineer5148
@softwareengineer5148 5 жыл бұрын
Great tutorial. I have working on IONIC 4 firebase smart push notifications. But it always crashes when i launch application. Do you have IONIC 4 FIREBASE cloud functions tutorial? Thanks
@Fireship
@Fireship 5 жыл бұрын
I created an Ionic demo awhile back. You will need to use the Firebase cordova plugin. angularfirebase.com/lessons/ionic-native-with-firebase-fcm-push-notifications-ios-android/
@softwareengineer5148
@softwareengineer5148 5 жыл бұрын
@@Fireship Super , Thanks for your advice. I will try those tutorial and let you know. :) :)
@FunOrFacts
@FunOrFacts 4 жыл бұрын
does this work kotlin based flutter project or its useful only for java based flutter projects
@mattl7599
@mattl7599 5 жыл бұрын
Another great video. Can you please tell me what colour scheme you are using for the code inside Visual Studio?
@Tiesthatbindus
@Tiesthatbindus 5 жыл бұрын
Outstanding! This goes hand-in-hand with the notifications that I'm doing now. One update though: It sounds like the auth key is the preferred way to handle notifications for iOS rather than the certificate. Any idea if the certs are going to be depreciated soon? Thanks Jeff!
@will_abule
@will_abule 5 жыл бұрын
hi jeff, do you mind making some videos on node js and firebase
@Fireship
@Fireship 5 жыл бұрын
Yes, I have a full JS course including node coming up soon.
@leandrovallejos4075
@leandrovallejos4075 2 жыл бұрын
How do you use the typescript functions with the flutter code?
@Dev_Eli
@Dev_Eli Жыл бұрын
Is there an updated version of this video?
@vipinvijayan6034
@vipinvijayan6034 5 жыл бұрын
Great Video.
@kickhuggy
@kickhuggy 2 жыл бұрын
Wow a lot of praise here and I’m completely struggling to follow this vid
@willyjean9137
@willyjean9137 3 жыл бұрын
Where did you get "puppyID" from?
@JinalKothariS
@JinalKothariS 4 жыл бұрын
Thanks man 🙏🏼
@Danmantle11
@Danmantle11 3 жыл бұрын
How does this walkthrough stand up now 2 years later?
@archer2363
@archer2363 5 жыл бұрын
Say you have a teacher, and the teacher has multiple different classes. Each class has a list students in that class. If the teacher wanted to send a notification to all the students in a particular class with a tap of button how that work?
@xmchughs
@xmchughs 5 жыл бұрын
Each user would be in a group and you would have a cloud function called per group, initiated by the teachers user.
@arielcohen2280
@arielcohen2280 4 жыл бұрын
thank you a great chanel !!
@sohedulislam1652
@sohedulislam1652 3 жыл бұрын
Please! make a video for testing and debugging cloud function with fcm notification.
@trophieboi1820
@trophieboi1820 5 жыл бұрын
What if the app is in the background?
@Fireship
@Fireship 5 жыл бұрын
Clicking the notification will open the app, or you can implement 'onResume' to handle the click with custom code.
@Rotem_shwartz
@Rotem_shwartz 5 жыл бұрын
great job jeff, love you mate :)
@kannanhassouna8789
@kannanhassouna8789 5 жыл бұрын
thank you fabulous tut
@sunnysinha9728
@sunnysinha9728 4 жыл бұрын
very well explained as usual... how can we do some background operations when fcm is sent and app is not running... like some sql query stuff on all of the devices... and this query will be sent to all devices through fcm.,please help me with it... i am not able to do so using onBackgroundMesaage
@romulosandrirodrigues5200
@romulosandrirodrigues5200 4 жыл бұрын
Hi. Great tutorial as always. I have a question: how to get the current user UID from the firebase Auth plugin into this function?
@demojoe28
@demojoe28 Жыл бұрын
Hey Jeff, can you make a tutorial implementing JWT auth in Flutter with something like Laravel. Thank you.
@AbhinavSrivastava11
@AbhinavSrivastava11 5 жыл бұрын
This is really awesome 🔥🔥🔥
@software-egineering-be-tounsi
@software-egineering-be-tounsi 4 жыл бұрын
are we gonna be able to receive notifications if the app is closed ? something similar to Messanger app
@stefanck
@stefanck 4 жыл бұрын
On Android, you need to do several things to be handle background notifications. You can follow the steps given here: pub.dev/packages/firebase_messaging - Unfortunately, there is quite an annoying bug (github.com/FirebaseExtended/flutterfire/issues/1684) preventing this to work, which make this package unusable for Android... Without mentionning the fact that with the current Flutter version, callbacks are triggered twice on Android also: github.com/FirebaseExtended/flutterfire/issues/1669 - Quite ridiculous if you ask me, Push Notifications are such a basic feature..... On iOS, you will need to implement it with an other plugin as this GitHub user describe in his answer: github.com/FirebaseExtended/flutterfire/issues/116#issuecomment-583854658
@mairatariq6739
@mairatariq6739 3 жыл бұрын
Hi, can it be done on Spark plan? without signing up for Blaze plan?
@DiazGunturFebrian
@DiazGunturFebrian 4 жыл бұрын
What do you think if using device group rather than send to array of tokens? so we only need to send to device group notification key once to notify all of the user devices
@RaadYacu
@RaadYacu 5 жыл бұрын
So whats the diff with FCM notifications and sms? I guess it depends on the use case
@MegaGorgot
@MegaGorgot 4 жыл бұрын
just cant seem to understand where did const order =snapshot.data(); came from, and how does it understand that its order or anything else like
@nullified__
@nullified__ 4 жыл бұрын
Can you do this with real time database instead of cloud firestore (if you can please make a video for it)
@AiTechBubble
@AiTechBubble 3 жыл бұрын
Hey can you explain this with java🥺....I'm tired trying to build it correctly using retrofit🤔
@dinuka_bandara
@dinuka_bandara 5 жыл бұрын
no usefull content for how to integrate fcm from scrach
@RemeLeHane
@RemeLeHane 4 жыл бұрын
Yes, but that would be a waste, that is what the pluggin documentation is for, if you are unable to read those then you should not even be here.
@gosnooky
@gosnooky 4 жыл бұрын
@@RemeLeHane Some people like me are visual. Don't be an asshole.
@RemeLeHane
@RemeLeHane 4 жыл бұрын
@@gosnooky so they'd rather watch someone copy paste code instead of copy pasting the code themselves, that's daft.
@betterbebachelor
@betterbebachelor 4 жыл бұрын
hi bro .. very thankful for the content you provide ... every thing is working fine but am not getting sound when i run on a device .. the notification is available in the notification pannel but not giving any sound or not showing when locked... when i enable permissions manually going to setting then its getting sound and showing banner when notification arrived... is there way to enable permissions by asking user.... plz answer my question
@thekakan
@thekakan 5 жыл бұрын
Can we use something else, like MQTT for example? I think FCM has its roots with Play Services and is the most efficient way for notifications.... I can't help but wonder. If I have a suite of apps, maybe I can make a separate app that acts as MQTT client and receives notifications that way?
@aravind2339
@aravind2339 2 жыл бұрын
am facing this issue "Try changing the name to the name of an existing class, or creating a class with the name 'Firestore'"
@VigneshKM
@VigneshKM 5 жыл бұрын
Please make a tutorial on iOS push notification? I tried integrating onesignal push notification. It was working fine on Android not on iOS. Can you do an tutorial on iOS push notification? That will help a lot.
@SamuelCamargo1000
@SamuelCamargo1000 5 жыл бұрын
Keep up the good job
@julianfigueroatorres1801
@julianfigueroatorres1801 5 жыл бұрын
great video Jeff, I'm wondering, is really necessary to have the Apple Developer license to work around with GC Notifications. Regards.
@peekpt
@peekpt 5 жыл бұрын
If you need to push anything you need a certificate an enrolment with external push service like FCM for that you need a dev certificate
@kyzerSieg
@kyzerSieg 2 жыл бұрын
And how can I send push notification without internet (only from my local network without internet) ?
@Zentamusic
@Zentamusic 4 жыл бұрын
Nice tutorial! Did you know it is actually possible to send messages from the app directly via curl (no need for a backend script).
@PurusothamanRamanujam
@PurusothamanRamanujam 5 жыл бұрын
When both notification and data(custom data), I see that nothing happens.. no notifications at all. but when i remove custom data segment from the payload, I get the push notification. what could be the reason? Thanks in advance.
@moritzs2833
@moritzs2833 4 жыл бұрын
I don't have he functions folder under android?
@mjharris8214
@mjharris8214 5 жыл бұрын
Can you make a video on deploying multi tenancy apps and how to select data based on username?
@sohedulislam1652
@sohedulislam1652 3 жыл бұрын
icon url not working on android. How can I set avatar url as icon for chatting app?
@azheennazhad2205
@azheennazhad2205 4 жыл бұрын
hello! thankyou so much for this tutorial ! i have a question tho please, what if your app doesnt require authentication?
In App Purchases in Flutter
10:54
Fireship
Рет қаралды 141 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 4,9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 11 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 101 МЛН
📱Android Push Notifications • Flutter x Firebase Tutorial
12:39
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 74 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Push notifications with Firebase messaging - Flutter
14:28
HeyFlutter․com
Рет қаралды 112 М.
OneSignal Notifications in Flutter Made Easy | Step-by-Step Tutorial
11:11
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 4,9 МЛН