👉Join 12 Week Flutter Training: heyflutter.com 👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f Source code: github.com/JohannesMilke/firebase_messaging Firebase Setup Tutorial: ruclips.net/video/0ZfGnXHSq7w/видео.html Riverpod Tutorial: ruclips.net/video/8H3bwxxla4Y/видео.html Google SignIn Firebase Tutorial: ruclips.net/video/ogW83xGQGTg/видео.html Todo App With Firebase Tutorial: ruclips.net/video/EV2DyrKOqrY/видео.html 1. Part - Build A Chat App: ruclips.net/video/wHIcJDQbBFs/видео.html 2. Part - Build A Chat App: ruclips.net/video/7UcM6Y12LEk/видео.html 3. Part - Build A Chat App: ruclips.net/video/ojBSygkVaNo/видео.html
Thanks Mahady for your feedback! 🙂 Sure, somewhere in the future I will create another updated video about it. Check also my other push notification videos out: Push Notifications 1 Tutorial: ruclips.net/video/wjJN1C9UxpY/видео.html Push Notifications 2 Tutorial: ruclips.net/video/4_2LlswlS2Q/видео.html Push Notifications 3 Tutorial: ruclips.net/video/7A7-LdYSUOg/видео.html Local Notifications 1 Tutorial: ruclips.net/video/xMeCwF5MO6w/видео.html Local Notifications 2 Tutorial: ruclips.net/video/lVDO58jCiCo/видео.html
Thanks for the explanation. An observation of what happened to me and I think could occurs to others: don't forget to sync Graddle after include the google-services package
Hi Johannes, I am new to your channel, and to Flutter. Can U plz direct me at where I should start in your channel, I mean which vidéos or playlist I should match first. Greeting from Algeria
Thanks Johannes. Rather than updating the List widget with a setState() is there any way you can update an AnimatedList without using setState? So that the List's update is not so jarring to the user?
I am in search of doing it for the iOS Apple side of life. I have limited experience there. Didn't like how it was all skipped over for Apple. It should have said (Android only) in the title. Thank you though.
Nice tutorial very helpful and well explained I have adapted your code I am testing on an iPhone, onMessage is working but the notification variable holding the message data is null when I try to display it in the build message widget call in the widget tree
Hi, thank you for your videos they are really helpful, they are one of the best on every topic. You are a great instructor. Can you please update firebase messaging, because there aren't many updated videos on this topic.
Thanks bro but please please make a video about device to device notification as I have made a beautiful app with chat functionality but sadly the messages are received silently , I have searched a lot but many documentations are talking about push notifications. Thanks in advance ✍️
Thanks for nice tutorial. I was wondering how you can show a snackbar on new notification when user is currently using the app and is in some other screen.
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
Great video!! Very nice step-by-step tutorial! Hope if you could add how to change the notification icon by adding meta data tag inside the AndroidManifest.xml file
@@HeyFlutter Hey Johannes, do you already know when you are gonna release the new video? I cannot find any good tutorial on RUclips atm an I really want to integrate FCM 😊
HI! Maybe you help me? I am trying compile ios app, I hace already flutter build ios - -release but when a create Product/Archive on Xcode, it generarte an error that say firebase messaging plugin.h not found, Maybe yo have an idea? Thanks
Nice Tutorial, But after merging GCM with FCM I don't receive notification if I send it using postman. But it works when I send it from console. Can you help me?
Thanks bro for this tutorial... Help me, I've 2 App, one is a virtual_store and other is the manager App, I want to push notification the manager app Always there is a orders from virtual_store. Have you any example?
Hello, There Great tutorial but having an issue with notification sound in android device I'm using Xiaomi Redmi note 7 get notification and redirect me to the app but without sound and I don't know why Can you help me with that ?
Awesome video sir..but there is an issue on real devices..notifications are not getting delivered when app is swiped from background(kill mode)...pls help!!
I am facing the same problem, the notification comes through perfectly however the screen shows null when I try to input data. I am on Android X. Please help
Thank You Irfan Shafi! Follow this link: stackoverflow.com/questions/56503530/how-to-send-push-notification-using-fcm-and-flutterone-to-another-device I hope you will get your answer 🙂
There is a second video about it where you learn how to automate it via http f.e. -->ruclips.net/video/4_2LlswlS2Q/видео.html and there is also a third video about it ruclips.net/video/7A7-LdYSUOg/видео.html
Thank You vincenzo izzo! Follow this link: stackoverflow.com/questions/56253721/flutter-firebase-messaging-not-receiving-notifications I hope you will get your answer 🙂
Thank You Vishwa Yasas! Follow this link: stackoverflow.com/questions/67091609/how-to-send-flutter-push-notification-to-specific-user-flutter-cloud-messagin I hope you will get your answer 🙂
Hello Kevin, here is a video about how you can send push notifications to specific devices and also via topics. Sry for the delay. ruclips.net/video/4_2LlswlS2Q/видео.html
It does show notification as its written in code to print("message") but however it doesn't show the notification in the system tray ... deprecated i guess .. isn't it ?
thanks a lot, and how can we send the notification message programmatically ? any one know a video tut to learn from it ? i mean an app ( server side) send a command to firebase to create a specific notification message and publish it to the user who has another app (client side) that will receive the notification message
Hello sir, I have error like this.. Exception has occurred. PlatformException (PlatformException(error, Default FirebaseApp is not initialized in this process com.pakpak.memo_app. Make sure to call FirebaseApp.initializeApp(Context) first., null)) How to fix that? Thank You
Add the apply plugin to the [project]/android/app/build.gradle file. // ADD THIS AT THE BOTTOM apply plugin: 'com.google.gms.google-services'' check here github.com/flutter/plugins/blob/master/packages/firebase_auth/README.md
Thanks Mohammed, did you follow all the configuration steps of Firebase within this video? Check also my tutorial out for setting up firebase for Android, iOS & Web: ruclips.net/video/0ZfGnXHSq7w/видео.html
This tutorial really helps me to start with firebase cloud messaging. Thanks a lot! But I'm getting an issue while retrieving the message from firestore "onMessage" is fired twice and I can't find the reason of this. Can anyone help me with this?
For the icon you might change the app icon in general which you can do f.e. with the plugin flutter_launcher_icons. I think it will then be the same icon for the notification also. To your other point - i would guess just put in all callback functions onMessage, onLaunch, etc. A Navigator.push() with your route you want like to have open.
@Diogo Lucas no we have to use socket or pubnub and listen to channel and use local notification.. Everyone is showing default tutorials i cannot find the different always firebase.. what if we want posgreSql or mongo or mysql ??
Acho que ele não fala português, mas mesmo assim creio eu que isso seja escolha do usuário, deixar o som ativo ou não. Agora se você está falando sobre mudar o som da notificação, ai já não sei te responder
Thank you, ! 🙂👍 Check out this video about Flutter Dark Mode Switch - Light & Dark Theme [2021] For Android & iOS ruclips.net/video/HSAa9yi0OMA/видео.html
👉Join 12 Week Flutter Training: heyflutter.com
👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
Source code: github.com/JohannesMilke/firebase_messaging
Firebase Setup Tutorial: ruclips.net/video/0ZfGnXHSq7w/видео.html
Riverpod Tutorial: ruclips.net/video/8H3bwxxla4Y/видео.html
Google SignIn Firebase Tutorial: ruclips.net/video/ogW83xGQGTg/видео.html
Todo App With Firebase Tutorial: ruclips.net/video/EV2DyrKOqrY/видео.html
1. Part - Build A Chat App: ruclips.net/video/wHIcJDQbBFs/видео.html
2. Part - Build A Chat App: ruclips.net/video/7UcM6Y12LEk/видео.html
3. Part - Build A Chat App: ruclips.net/video/ojBSygkVaNo/видео.html
One of the best tutorials for Firebase push notifications for flutter. Highly recommended
Thank you for your courses they are simple, clean and lucid.
I am progressing thanks to your courses.
Thanks for your videos. You teach me a lot about Flutter.
The way you explained this tutorial is amazing. Thank you so much
Excellent example on Flutter! works fine with your libraries ver #. Bravo.
Hey johannes , Can you update the video with latest package version of fcm ? great video as usual
Thanks Mahady for your feedback! 🙂 Sure, somewhere in the future I will create another updated video about it. Check also my other push notification videos out:
Push Notifications 1 Tutorial: ruclips.net/video/wjJN1C9UxpY/видео.html
Push Notifications 2 Tutorial: ruclips.net/video/4_2LlswlS2Q/видео.html
Push Notifications 3 Tutorial: ruclips.net/video/7A7-LdYSUOg/видео.html
Local Notifications 1 Tutorial: ruclips.net/video/xMeCwF5MO6w/видео.html
Local Notifications 2 Tutorial: ruclips.net/video/lVDO58jCiCo/видео.html
Great video,great voice.Expecting to see more Firebase videos,there seems to be shortage of videos for flutter backend
Thanks. I will think about to do more backend videos. I think you mean something like using firebase, right?
Thanks for the explanation.
An observation of what happened to me and I think could occurs to others: don't forget to sync Graddle after include the google-services package
Really helpful explanation . Thanks Johannes!
Hello i am Korea colleage student creating community app, i cant see you, but i feel you are kind person very Thx ^^ i will wait next video!
Hi Johannes, I am new to your channel, and to Flutter.
Can U plz direct me at where I should start in your channel, I mean which vidéos or playlist I should match first.
Greeting from Algeria
Thank you 😊, تحويسة - Tahwisa! Check out this playlist for beginners : ruclips.net/p/PL1WkZqhlAdC_MPQBXUFwAHviZ3XkWPDBG
Hi sir , 3 things :
1st can you please update this screen cast it is out date now
2nd will we view your course on udemy ?
Nice explain dude
keep posting good content. Knowledge delivered👊
Thank you, Tana! 🙂
I do check out my other videos about Flutter & Firebase: ruclips.net/video/hiyFKdiQyNE/видео.html
Code Not working when the app is killed or terminated . How did u receive notification in the video when the app is killed ?
Can the notification turn on the screen and show the message when app is closed and screen is turned off?
thanks for the video btw ;D
Clear explanation. Thank you
Thanks Johannes. Rather than updating the List widget with a setState() is there any way you can update an AnimatedList without using setState? So that the List's update is not so jarring to the user?
great tutorial homie!
finally i have got my app connected with firebase , thanks man :D
I am in search of doing it for the iOS Apple side of life. I have limited experience there. Didn't like how it was all skipped over for Apple. It should have said (Android only) in the title. Thank you though.
Nice tutorial very helpful and well explained I have adapted your code I am testing on an iPhone, onMessage is working but the notification variable holding the message data is null when I try to display it in the build message widget call in the widget tree
great tutorial, thanks Johannes
Loved the video. Helped me alot
Hi, thank you for your videos they are really helpful, they are one of the best on every topic. You are a great instructor. Can you please update firebase messaging, because there aren't many updated videos on this topic.
Thanks for the idea, Freelancer Freelance! 🙂 I have added it to my list of ideas for future videos!
Thanks bro but please please make a video about device to device notification as I have made a beautiful app with chat functionality but sadly the messages are received silently , I have searched a lot but many documentations are talking about push notifications.
Thanks in advance ✍️
Thank you so much man, this is really helpful
Have you tried MonadPlug for monetization? I think it's a great network with or without AdSense
Thanks for nice tutorial. I was wondering how you can show a snackbar on new notification when user is currently using the app and is in some other screen.
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
very helpfull, try using dark ide from next time
Nice tutorial Johannes, thanks you
Please tell that notification can not be received when the app is not running and not in the backgroung task.
Very useful lecture. Thank u so much. It all worked
Great tutorial
Thank you so much for detailed explanation
Thank you very much for great tutorial - it works :)
Hi thanks for the video, may i know how to schedule the time with it?
اشكرك من اعماق قلبي
Great video!! Very nice step-by-step tutorial! Hope if you could add how to change the notification icon by adding meta data tag inside the AndroidManifest.xml file
Hi Johannes, are there some changes with the current version? And do you plan do make an updated video then? Thank you!
@@HeyFlutter good to hear! looking forward to it 🙂
@@HeyFlutter Hey Johannes, do you already know when you are gonna release the new video? I cannot find any good tutorial on RUclips atm an I really want to integrate FCM 😊
HI! Maybe you help me? I am trying compile ios app, I hace already flutter build ios - -release but when a create Product/Archive on Xcode, it generarte an error that say firebase messaging plugin.h not found, Maybe yo have an idea? Thanks
Hi Johannes, l was asking if you could make new videos on this topic it would be highly appreciated.
Thanks for the idea zorab00 😀, i have added it in my list of future videos
@@HeyFlutter You the best
Thanks a lot! You're the best!
how do you send a notification from the admin to the user? the admin is on a device as well
Thanks Brother! very helpful!
Am I allowed to use this Code in my own Project?
Hi, i have a doubt
wich the difference between Push notifications with Firebase and Local Push Notifications?
Thank You Gianfilippo Bellin! Follow this link: docs.coronalabs.com/guide/events/appNotification/index.html
I hope you will get your answer 🙂
Very helpful brother! Thanks!
Nice Tutorial, But after merging GCM with FCM I don't receive notification if I send it using postman. But it works when I send it from console. Can you help me?
NICE Men! Thank u...subscribed
Tanks! Very helpful!
Thanks bro for this tutorial...
Help me, I've 2 App, one is a virtual_store and other is the manager App, I want to push notification the manager app Always there is a orders from virtual_store.
Have you any example?
Hello, There
Great tutorial but having an issue with notification sound in android device
I'm using Xiaomi Redmi note 7 get notification and redirect me to the app but without sound and I don't know why
Can you help me with that ?
Awesome video sir..but there is an issue on real devices..notifications are not getting delivered when app is swiped from background(kill mode)...pls help!!
I am facing the same problem, the notification comes through perfectly however the screen shows null when I try to input data. I am on Android X. Please help
Hey, have you got your solution?
Fatal: failed to find callback ?
this error occured while sending push notification from firebase
I am also getting same error. Did you resolved this?
Thanks
can you make video for fully custom notification in flutter
It does not work for me. I followed all the steps one by one . Notifications are receiving but not displaying on the app.
Hi, your application are Ok but when I'm trying in AndroidX crash de app and close ? do you know what can i do ?
hello, mike I need help regarding push notification. How we can send push notification from one device to another device in flutter using FCM
Thank You Irfan Shafi! Follow this link: stackoverflow.com/questions/56503530/how-to-send-push-notification-using-fcm-and-flutterone-to-another-device
I hope you will get your answer 🙂
Hi, I need help when I build my app and install phone not working push notifications
Sir I followed all the steps you mentioned while doing the setup
But still I'm getting errors in the app level build.gradle file
same here brother .... couldnt solve this issue ... did you solve that?
video is great but how do i automate the sending process?
There is a second video about it where you learn how to automate it via http f.e. -->ruclips.net/video/4_2LlswlS2Q/видео.html and there is also a third video about it ruclips.net/video/7A7-LdYSUOg/видео.html
Hi, it happens that with firebase notifications are sent, but the app does not arrive?Tks
Thank You vincenzo izzo! Follow this link: stackoverflow.com/questions/56253721/flutter-firebase-messaging-not-receiving-notifications
I hope you will get your answer 🙂
Awesome stuff
Is it possible to send separate messages to different users this way?
@@HeyFlutter how to do it sir?
Thank You Vishwa Yasas! Follow this link: stackoverflow.com/questions/67091609/how-to-send-flutter-push-notification-to-specific-user-flutter-cloud-messagin
I hope you will get your answer 🙂
I am not able to get any notification, trying since 3-4 hours
How to send a notification to a specific device?
Hello Kevin, here is a video about how you can send push notifications to specific devices and also via topics. Sry for the delay. ruclips.net/video/4_2LlswlS2Q/видео.html
It does show notification as its written in code to print("message") but however it doesn't show the notification in the system tray ... deprecated i guess .. isn't it ?
It shows the message only if the app is in the background or closed maybe this is the issue for you
if I kill/terminate/fully close the application, (not this: 10:05, i mean clear all apps) does the notification still work? Like WA.
Hi, have you found out any Solution on this?
thanks a lot, and how can we send the notification message programmatically ? any one know a video tut to learn from it ?
i mean an app ( server side) send a command to firebase to create a specific notification message and publish it to the user who has another app (client side) that will receive the notification message
@@HeyFlutter oh really , great job , thanks a lot again ..
I have two following videos where I also talk about it :) have fun! Watch ruclips.net/video/4_2LlswlS2Q/видео.html
@@HeyFlutter many thanks 🌹
good Job
how to show image in notification from push notification
How to send images via FCM in flutter
Hello sir, I have error like this..
Exception has occurred.
PlatformException (PlatformException(error, Default FirebaseApp is not initialized in this process com.pakpak.memo_app. Make sure to call FirebaseApp.initializeApp(Context) first., null))
How to fix that? Thank You
Add the apply plugin to the [project]/android/app/build.gradle file.
// ADD THIS AT THE BOTTOM
apply plugin: 'com.google.gms.google-services''
check here github.com/flutter/plugins/blob/master/packages/firebase_auth/README.md
What after #100 days?
onlaunch and onresume are not working for me although i did follow documentation
Thanks Mohammed, did you follow all the configuration steps of Firebase within this video? Check also my tutorial out for setting up firebase for Android, iOS & Web: ruclips.net/video/0ZfGnXHSq7w/видео.html
I'M NOT GETTING THE MESSAGES IN MY APP..PLEASE HELP.... THNXXX
This tutorial really helps me to start with firebase cloud messaging. Thanks a lot! But I'm getting an issue while retrieving the message from firestore "onMessage" is fired twice and I can't find the reason of this. Can anyone help me with this?
Prolly cuz of 2 instances being run
hi brother plz make a new tutorial for push notifications in Flutter 3.0
Thanks for the idea, Fahad Mustafa! 🙂 I have added it to my list of ideas for future videos!
If anyone knows how to resolve this please do answer
please! help me for implementing onBackground function.
Thanks ❤
how to send push notification using php script ? please help me
How to open a separate screen when me tap on notifications also how can we change the icon of notifications to our app icon(that little one)
You're best thanks ☕☕☕
For the icon you might change the app icon in general which you can do f.e. with the plugin flutter_launcher_icons. I think it will then be the same icon for the notification also. To your other point - i would guess just put in all callback functions onMessage, onLaunch, etc. A Navigator.push() with your route you want like to have open.
Can you update the video and code please
Thanks for the feedback, Bloodcon! 🙂
Push notifications with Firebase messaging - Flutter 2021 ?
sorry it does not worked for me
@@HeyFlutter sir watched your tutorial 3 time
Explanation is good but it not working for me is there any change ?
@@mahavirsingh5790 use current firesbase_messaging packages are outdated
how can i do this iOS ? Anyone know the solution please comment , I will be appreciate :)
great video, can send notification from mysql db
i am searching for notification from mysql db, if you find please let me know bro.
@Diogo Lucas no we have to use socket or pubnub and listen to channel and use local notification.. Everyone is showing default tutorials i cannot find the different always firebase.. what if we want posgreSql or mongo or mysql ??
not working...androidmanifest error
@@HeyFlutter sorry it works, apparently there is something wrong with the graddle. Thanks!!!!
you used androidX ?
Boa tarde amigo, obrigado pelo video, gostaeria de saber como ativo o som da notificação. Desde ja agradeço
Acho que ele não fala português, mas mesmo assim creio eu que isso seja escolha do usuário, deixar o som ativo ou não.
Agora se você está falando sobre mudar o som da notificação, ai já não sei te responder
dark mode please
Thank you, ! 🙂👍 Check out this video about Flutter Dark Mode Switch - Light & Dark Theme [2021] For Android & iOS
ruclips.net/video/HSAa9yi0OMA/видео.html
It’s okay for iPhone I have found the answer at github.com/flutter/flutter/issues/28196. The payloads are different for Android and iOS