Also want to implement push notifications for iOS? Check this: kzbin.info/www/bejne/fX-lppR3d52hiJo Or maybe you need to learn now how to _send_ a push notification? I got you covered right here: kzbin.info/www/bejne/jHqUqJqboN9okK8
@octaviandobre Жыл бұрын
How is this the only detailed "How to" about Firebase + Xamarin + Android app no youtube. This is unacceptable. Kudos to the tutorial maker(Gerald) for making our lives easier.
@jfversluis Жыл бұрын
Glad I could help out! Guess I need to make an updated .NET MAUI version soon!
@zoyanoor74505 ай бұрын
Hi Gerald, could you please help by creating one video for migrating the legacy FCM to FCM v1 to keep receiving notifications for xamarin apps please.
@vitalchance57683 жыл бұрын
Thanks, man - I greatly appreciate that! This is the only one clear and step-by-step tutorial without extra Azure or AWS flavors. Just bare bones showing how it works. Praise God I found it!
@jfversluis3 жыл бұрын
Glad to be able of service! :)
@xxThemoritzxx Жыл бұрын
Brilliant, any changes for MAUI? Is Windows working as well? Greetings
@kuyaian70903 жыл бұрын
THANK YOU SO MUCH GERALD! IVE BEEN WANTING TO SEE A TUTORIAL LIKE THIS! i didn't skip any ads to give you my thanks! you're the man!
@jfversluis3 жыл бұрын
That is very thoughtful of you! Thank you for the support! Appreciate it! :)
@darrabam3 жыл бұрын
Excellent tutorial, many thanks Gerald! Could you please make a video on how to do extra customizations .e.g. show the app mini icon in the status bar, include an image as part of the notification, custom notification background, for both Android and iOS (if possible). I understand that these are platform specific and there are online posts about them, but you always provide valuable tips & tricks in your videos :)
@jfversluis3 жыл бұрын
Great suggestion! That one is definitely coming!
@NunoSoaresOnline3 жыл бұрын
Thank you for the great tutorial, Gerald! Truly appreciated! Please do a video on integrating notifications sent with an Azure notification hub.
@jfversluis3 жыл бұрын
Will look into it!
@muhammadyaseen14183 жыл бұрын
Wow, thank you very much for this video and all of your previous videos. There are several inquiries about push notification, first about the possibility of push it using HTTP Post Verb, and how to push notification between application users themselves without using FB Console, such as WhatsApp notifications when receiving a message, for example, thank you very much again and accept my regards.🌷🌷
@jfversluis3 жыл бұрын
Glad it was helpful! Sending push notifications is on the list. In regard to "how to push notification between application users themselves", I understand what you mean, but that is not what is happening. There is always some kind of trigger to send the notification. In this case a message is added to the database of Whatsapp and that triggers the notification for instance :)
@normlough24863 жыл бұрын
This and the corresponding iOS example are excellent and easy to follow. Superb work. Many thanks.
@jfversluis3 жыл бұрын
Glad it was helpful! Thanks you for letting me know, appreciate it :)
@jbladimir163 жыл бұрын
Woof! so great, thanks for keeping your promise. Without embarrassment I would like to ask you more if it were not too much trouble. I would like you to do the second part where by pressing the notification it takes you to a specific page and you can retrieve the message. Thank you very much in advance.
@jfversluis3 жыл бұрын
I don't think you can retrieve the actual message unless you also attach that as data, but I've added it to the todo list :)
@davidescalante26426 ай бұрын
Dude thank u so much for this guide! Your explanation was completely clear and easy to follow, please continue with this kinda tuto of firebase
@miriamwalter20283 жыл бұрын
Thank you for this excellent tutorial. I have so much tested and now it works.
@jfversluis3 жыл бұрын
Great to hear Miriam! Thanks so much for taking the time to let me know!
@madraven373 жыл бұрын
Thank you! You're the best, now I hope we'll see how to send notifications from the BackEnd side, like the WPF side or the server-side of the App.
@jfversluis3 жыл бұрын
Thank you! Sending the notifications is definitely coming too :)
@madraven373 жыл бұрын
@@jfversluis looking forward to it.😍😍
@udaysuddhala35123 жыл бұрын
Yeii.. 😍😍. Finally the wait is over !! 😁😁 As u promised !! It's really worthy waiting !! 😍😍 Thanks Gerald 🙏🙏🙏
@jfversluis3 жыл бұрын
Woohoo! Thanks!
@shakaibakhtar87643 жыл бұрын
@Gerald Can you please make a video on how to open an XF Page when we click on notification depending on the data coming along the notification ?
@jfversluis3 жыл бұрын
Added it to the todo list, thanks!
@innomotionmedia40393 жыл бұрын
Thank you for the tutorial: Just to add: you can simply restcall firebase with your server key and send pushes. All u need to know is the receipiens token id. so save that on your cloud, download user object and send pushes from client to client in within seconds. :)
@jfversluis3 жыл бұрын
That is awesome! Thanks for the tip!
@SmartAzan3 жыл бұрын
Does Token ID Change? say when user opens the APP, i save their Token ID into my Database, how often should I update the Token ID (if it changes)?
@jfversluis3 жыл бұрын
It can change from time to time. There is an event for when that happens. Hook into that and save/update it for the user when that happens
@antract36102 жыл бұрын
Great video ! Can you do a tutorial for MAUI Push notifications using either FCM or Azure ?
@jfversluis2 жыл бұрын
That will probably come at some point, not sure when though!
@F0YF0YT0S Жыл бұрын
Great tutorial! Excellent delivery! Would this work hit Maui Hybrid as well or we would face problems in that context?
@jfversluis Жыл бұрын
Should work! A Blazor Hybrid app is still a .NET MAUI app!
@F0YF0YT0S Жыл бұрын
@@jfversluis I can confirm that it works! with minor (platform specific) changes. What I cant get it to do is ask for the "notifications permission"... I have to enable it manually whenever I uninstall the app (not when i rebuild).
@leosouza1520 Жыл бұрын
Hey Gerald, how about push notification in MAUI? It would be a great video!
@jfversluis Жыл бұрын
Absolutely! It’s coming!
@juanjbarrionuevo2 жыл бұрын
I can't thank you enough for this step-by-step tutorial! Great job!! Great tutorial!!
@jfversluis2 жыл бұрын
Thanks! Glad it is helpful!
@praveenanto2353 жыл бұрын
Thanks a lot .Very easy to understand and I was thinking that it was harder to implement...U nailed it man : )
@jfversluis3 жыл бұрын
Love to hear that, that was exactly what I wanted to achieve! Happy notificationing!
@danm20924 ай бұрын
Great video, thanks so much!
@josedonizeteoliveirajunior17443 жыл бұрын
Perfect guy, I suffered from it a few days ago. Thanks
@jfversluis3 жыл бұрын
Hope this helps!
@gustavobarbosa88613 жыл бұрын
Hi Gerald, your videos are great!!! I would like to see a video of how to send it to a specific user and also how to customize a notification, thanks!
@jfversluis3 жыл бұрын
The video about sending push notifications is here: kzbin.info/www/bejne/jHqUqJqboN9okK8
@robertocruz2313 жыл бұрын
Great tutorial, you are the best!
@jfversluis3 жыл бұрын
Thank you!
@yannicknfankou7739 Жыл бұрын
Hello Gerald Thank you for your interesting video. I was able to carry out a little test thanks to your tutorial but sometimes the notification does not arrive on 10 launched we receive 5. This leads me to ask a question: there is no mechanism in Xamarin to notify the client (device) even when the application is closed. Like Whatsapp or Gmail when a new message arrives, you have a notification and a message counter on the application icon. Do you have an idea of the design to put in place to create such a system?
@emmanueladebiyi21093 жыл бұрын
Awesome stuff 💪🏽
@jfversluis3 жыл бұрын
Thanks Emmanuel!
@interpreterdeveloping2 жыл бұрын
Thanks for you🖤🖤
@jfversluis2 жыл бұрын
My pleasure!
@usamaelhamed43243 жыл бұрын
Thanks Gerald, every video is perfect and useful
@jfversluis3 жыл бұрын
Thank you Usama!
@leleDisaji Жыл бұрын
hello, great job, i installed the app on a my device. how do i know its token to pass to FB for sending notification?
@hamzaduman49463 жыл бұрын
Thank you Gerald, I'd be glad if you could help me with a question. "Default FirebaseApp is not initialized in this ......................... Make sure to call FirebaseApp.initializeApp(Context) first." i get the error.
@jfversluis3 жыл бұрын
And did you call that method? ;)
@otakulyrics673 жыл бұрын
Did you fixed this? Im getting the same error...
@jfversluis3 жыл бұрын
Make sure you call the method from the error in the MainActivity
@timblack45492 жыл бұрын
Thanks for all the great videos! I actually came across your videos, while reviewing the new MAUI features in VS2022 and am very excited about the cross-platform possibilities. Would you please create a MAUI version of your Xamarin Firebase videos? Thanks
@jfversluis2 жыл бұрын
That is great Tim, welcome! Actually a lot of that should not change too much :) probably over time I will redo some of them if there is enough ask, but the code will largely be the same. Let me know if you need anything!
@db14772 жыл бұрын
@@jfversluis Thanks for the great content, it's been really helpful! I've been trying to get this to work on Maui however it seems a lot has changed since this video was posted. There's quite a few issues with outdated plugins and build errors. I would really appreciate another updated video on this!
@jfversluis2 жыл бұрын
@@db1477 This will 100% not work with .NET MAUI as the plugin needs to be structured differently. If you implement all the bits on the platform level push notifications will work. As far as I know there are no plugins that work with .NET MAUI right now, surely they will come when .NET MAUI goes GA.
@nehasharma-px2oh2 жыл бұрын
@@jfversluis Hello Gerald, I need to do this for .Net maui. Can you point me to any tutorial on how to do this for Maui.
@jfversluis2 жыл бұрын
@@nehasharma-px2oh I don’t think there is one yet :)
@mo7amedh.m2643 жыл бұрын
thx for this video 😍 can you make a video about all thing and type of design data in firebase realtime database 🙏
@jfversluis3 жыл бұрын
Added it to the list, can't promise anything yet, but who knows! :)
@robertojrcantos17113 жыл бұрын
Very informative Gerald. Is the FCM you used on this Vlog free?
@jfversluis3 жыл бұрын
Yes! “Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.” Source: firebase.google.com/docs/cloud-messaging
@robertojrcantos17113 жыл бұрын
@@jfversluis this is great🤩. I’ll try it today. Thank you very much
@alessandrolanzoni92882 жыл бұрын
Hi Geralt, please, can you Update this video tutorial for Android 12. It's seem that don't work whit the latest version of Android
@irdalan13622 жыл бұрын
I have the same issue and have not yet received an answer in the issues section of their github repository.
@jfversluis2 жыл бұрын
Define "not working"? Do you get any error or something? Where is the link to the repo issue?
@irdalan13622 жыл бұрын
@@jfversluis See issue "Android 12 does not receive Push Notification #420". Not working means that if you try your sample implementation on Android 12 you will not get any notification and you will not be able to publish the app on play store
@jfversluis2 жыл бұрын
I don’t work on that repo. That will be something the maintainers need to fix then :)
@michaelalaohuru2 жыл бұрын
Excellent tutorial, many thanks Gerald! Am having a little challenge. 1. when i push out notification, I noticed that if the recipient app is off or killed or not running, most of the times the notification fails 2. If the recipient app is active on the screen, most of the times, the notification also fails Kindly assist. if the recipient phone is off, I want the notification delivered when the phone is put on. Thanks
@jfversluis2 жыл бұрын
That should work :) I think there was an issue with the plugin for this, you might want to check the author of the plugin and see if there are any open issues for it
@michaelalaohuru2 жыл бұрын
Ok. I followed the tutorial step by step and used exactly the plugin you used. I will give it a trial and get back to you. Thank you so so much
@jay4ymar1 Жыл бұрын
To view notifications in the foreground you can set the priority of the notification to "High" by adding the key/value "priority" and "high" to the custom data field in FCM
@jfversluis Жыл бұрын
Correct! Thanks for sharing!
@abdallaouiayoub72362 жыл бұрын
Great tutorials I love your videos and hopefully you can guide me on this one. I only get a token on debug mode and the notification is received only when the app is running on the background
@jfversluis2 жыл бұрын
Thank you for the kind words! No token in production indicates some kind of mismatch in the configuration probably. You should handle the notification when the app is in the foreground yourself. See the video on iOS on how to do that.
@Vuyiswamb2 жыл бұрын
This is a beautiful example . i would like to know the following , if you have videos for it , i would like to know 1) Is Firebase Free , can we send unlimited number of notifications 2) The Token that we produce on Debug it get lost when the app is closed , on a release mode can i store this token on the database so that i sent a Notification to a specific User on the later stage 3) If a user has closed the app and its not in the background , will the Push notification show ? 4) How can i send a Push Notification on the app based on the User A and the Notification Shown only for User B (Token) Thank you for the Example
@jfversluis2 жыл бұрын
Thank you! 1. I think for push it's free, but check their docs 2. Yes, you can store it, but beware also in production it can be refreshed. Implement code to detect that and update the token in your database 3. It should show also in the background, yes 4. You probably want to view this one: kzbin.info/www/bejne/jHqUqJqboN9okK8
@AbhishekSingh-vp2qi2 жыл бұрын
Hi sir thanks for the great video on notification. I have one query regarding action button on notification. As i have added two action button in the notification name as "Accept" and "Reject". When I am sending the notification the action button is showing in notification when my application is in foreground, but when my application is in background or killed the notification is showing without action button.
@HD_CyberSecInsights3 жыл бұрын
Thank you! You provide so much value content!
@jfversluis3 жыл бұрын
Thank you so much David! Glad you think so!
@comeandgetsome_2 жыл бұрын
Thank You so much Boss. I have managed to implement Push Notification on MAUI as well using the same technique. God bless you
@jfversluis2 жыл бұрын
That is great to hear, thanks so much for letting me know!
@ddavid88888882 жыл бұрын
Hi there, I too try to implement push notifications on my Maui app, do you have any tips and advice to note before i begin to follow this tutorial?
@istrateandrei27542 жыл бұрын
Didn't you have problems with compiling after adding those packages ??
@stefano4993 Жыл бұрын
Thanks for that video! Helped me a lot. I set the Target Android Version to 33 and in my Emulator I don't get messages when the app is closed (I get them when it is open). On an older device it works both when the app is open or closed. Do you have any idea?
@Solution-In-Code Жыл бұрын
I am facing the same problem. Have you already solved?
@stefano4993 Жыл бұрын
@@Solution-In-Code you need to add in your manifest. And then something like this to your mainactivity to activate a permission popup on start: protected override void OnStart() { base.OnStart(); const int requestLocationId = 2023; string[] notiPermission = { Manifest.Permission.PostNotifications }; if ((int)Build.VERSION.SdkInt < 33) return; if (this.CheckSelfPermission(Manifest.Permission.PostNotifications) != Permission.Granted) { this.RequestPermissions(notiPermission, requestLocationId); } }
@SayyadHasan3 жыл бұрын
Awesome 👏🏻 👏🏻 👏🏻 can you please update push notifications for iOS too
@jfversluis3 жыл бұрын
It’s coming don’t worry 😉
@QuintonViljoen2 жыл бұрын
Thanks for the series, really enjoyed it! Would be awesome if you could show how to use Push with Shiny some time. I tried following the documentation but it's inconclusive but I am sure you could do a great video series on it.
@jfversluis2 жыл бұрын
I definitely want to do more with Shiny, but it might be for .NET MAUI though. Stay tuned!
@eddienoureddine74083 жыл бұрын
I love you videos dude. A video on starting a xamarin ios/Adnroid application from a shared link on whatsapp for example would be great. thanks
@jfversluis3 жыл бұрын
I think that is called deep linking which is also a hard topic... I think Xamarin.Essentials might have something to make it easier? I'll add it to the list :)
@eddienoureddine74083 жыл бұрын
@@jfversluis Hard topics are what drove me to this channel. Xamarin essentials have something called Launcher that actually launches a specific application from within another Xamarin application. What we are actually looking for is to open our Xamarin app from a link in a website, or within a text message or from a WhatsApp message etc. This topic is really worth a video. KZbin is full of worthless videos that are waste of time to watch. Thanks in advance.
@jfversluis3 жыл бұрын
@@eddienoureddine7408 I'll add it to the list :)
@deaasaleh36133 жыл бұрын
Great video 💪 Thank you Jerald
@jfversluis3 жыл бұрын
Thank you!
@SwaroopaDiaries142 жыл бұрын
Thank you Gerald 🌹 , Very Well Explained. Now I want to implement through code. Can You Please Suggest Something so that I could work on it.
@jfversluis2 жыл бұрын
A todo app is always popular 😄
@edmatixmazik8483 жыл бұрын
Excellent tutorial, many thanks Gerald! Please do a video on how to show the notification count over app icon in xamarin android
@jfversluis3 жыл бұрын
I don’t think that’s possible on Android? At least not all Android versions
@talkbe31202 жыл бұрын
hello Gerald, the problem is that when i publish the backend to azure the notification push will not work, i even used notification hub from azure, i couldnt register my device to receive notification could you please share for us some knowledge there.
@Uberhexation2 жыл бұрын
does this work the same with MAUI? i'm a student at PXL Hasselt and we have to make a project with MAUI
@jfversluis2 жыл бұрын
Hey there! Cool I think I will be at PXL on October 28th :D Push notifications definitely work, I don't think this plugin is updated to be used with .NET MAUI though
@olegboguslawski3 жыл бұрын
Okay, now we need the part "How to call firebase from your backend to make it send notification to xamarin app" :D
@jfversluis3 жыл бұрын
It’s coming!
@sipepguru3 жыл бұрын
@@jfversluis what about the iOS implementation my xamarin leader
@jfversluis3 жыл бұрын
@@sipepguru it’s coming! Uploading it today, will be released next week or available immediately if you are a member on the channel :)
@ismailzumrawi3 жыл бұрын
hey, this is an excellent job, I have a problem with a class appliction "Application cannot have both a type with an [Application] attribute and an [assembly:Application] attribute."
@jfversluis3 жыл бұрын
There can be only one class marked as application. You’re going to need to combine those :)
@ismailzumrawi3 жыл бұрын
@@jfversluis thanks , also token generated by OAuth(webapi). is different from token generator by xamarin forms how to make them same
@jfversluis3 жыл бұрын
Not sure what you mean… Oauth tokens are supposed to be different
@ismailzumrawi3 жыл бұрын
@@jfversluis i mean I get token generated by Xamarin forms not API to send token>>> so I want to store it in the database to send notifications to a list of users depend on the token
@ismailzumrawi3 жыл бұрын
@@jfversluis in your video you take tokens from the output window so how can I get it from code
@justin8899002 жыл бұрын
Thanks Gerald for Amazing video, I am able implement this and receive push notification. I have one problem I am not able receive notification when app is in closed or app is in the foreground, can you please provide details how to receive notification in android when app is in different conditions?
@frederikbrandt52812 жыл бұрын
Good video, but I am missing the step for integrating notifications sent with an Azure notification hub
@jfversluis2 жыл бұрын
That's correct because this uses Firebase :) Send push notifications is here: kzbin.info/www/bejne/jHqUqJqboN9okK8 This is an alternative to Azure Notification Hub. I might do it for Azure still as well
@1desgerasl2 жыл бұрын
Hello, excelent video, one question, do you do remote personal assistance?
@jfversluis2 жыл бұрын
Thank you Gerardo! Unfortunately I do not, sorry!
@tsumiotoshi3 жыл бұрын
Great video again! How can I send notification from App? I mean this is sending from Firebase Console, right? How to send an App to another Apps? Will you make a video? :D
@jfversluis3 жыл бұрын
Typically you don’t send a notification from one app to another directly, it will be triggered by something on the server. A video on that is definitely coming!
@tsumiotoshi3 жыл бұрын
@@jfversluis Thanks 😊, waiting for that.
@atmtherealtor2 жыл бұрын
I am running into Xamarin.googleplayservices.117.0.05 is not compatible with mono android 11.0 I am on windows machine. using Visual Studio 2019. Do I have to upgrade to visual studio 2022
@RaabStephan3 жыл бұрын
Legend!
@jfversluis3 жыл бұрын
Wait for it.... dary!
@leonardo_40653 жыл бұрын
could make a video of authentication with firebase and xamarin forms?. your videos are very good
@jfversluis3 жыл бұрын
Thanks! I will see if I can do that :)
@hdgmar17252 жыл бұрын
excellent !!
@jfversluis2 жыл бұрын
Thank you! Push notifications in combination with .NET MAUI will definitely come!
@satyendra13132 жыл бұрын
Very good tutorial, Thanks dear...
@jfversluis2 жыл бұрын
Thanks for watching Satyendra!
@adinwashere3 жыл бұрын
You make it look so simple 👍
@jfversluis3 жыл бұрын
If I can do it, you certainly can too!
@adinwashere3 жыл бұрын
@@jfversluis 😁
@ChanoTSG2 жыл бұрын
i love so much xamarin forms
@jfversluis2 жыл бұрын
Me too!
@minhtuan7373 жыл бұрын
You can make a tutorial to change the status bar notification icon and add an image to the notification, it's great
@vknigam19882 жыл бұрын
Great Tutorials. Actually i am able to get the notification when my app is on or in foreground, is there any way to get the notification when my app is in foreground or when my app is on
@jfversluis2 жыл бұрын
Check the FAQ on the repository for this plugin, there are some hints in there
@KostasKousinovalis3 жыл бұрын
I tryied your sample, i put my google.json file, changed the app name to mine, but the notifications are not coming. I tryied to the specific token and to all but with no luck. What else can i look in to? Thank you
@jfversluis3 жыл бұрын
Hard to say without any more info. Make sure the app name is exactly the same including the casing and that the build action is set to GoogleServicesJson
@dreamhunter28952 жыл бұрын
Thanks Sir, I am getting error FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE. Please help me on this. Previously it was working perfectly.
@jfversluis2 жыл бұрын
Not sure to be honest. Search for that error and see what you find
@user-en5wq5xn7r5 ай бұрын
do you have a drop date for the MAUI version of this video. It was so helpful, thank you
@jfversluis5 ай бұрын
Thank you! Unfortunately not yet. It’s a lot of work I keep pushing it back 😅 I’ll get to it soon!
@KostasKousinovalis3 жыл бұрын
Thanks for the video. OK we learned how to recieve the notifications. But how about sending them? Only through the Firebase console? I don't think so. You have to make a video for this. Also, how to send to a specific phone-user? How can we know the user's token? Does the token changing everytime? Sorry for the too many questions but they came in mind when i saw your video and implement the code.
@jfversluis3 жыл бұрын
Way ahead of you 😏 kzbin.info/www/bejne/jHqUqJqboN9okK8
@stryder123452 жыл бұрын
Could you please give an advice , my app is installed approximately on 100 phones , but only 25-30 phones received notification, what should i do?
@bhokalady Жыл бұрын
many thanks Mr. Gerald , Very easy to understand. I have one question , How to customized UI Notification(e.g. :- Title will be on Bold and need Company logo as icon) in Cross platform. Please help me on that.
@jfversluis Жыл бұрын
Thank you! I'm afraid I'm not really sure what you mean though.
@bhokalady Жыл бұрын
@@jfversluis My means how to make customized of notification when Application on background in Adnriod . when application on foreground then i can handle notification from "Onnotificationreceived" so How to handle notification when app in background.
@kenny_ali2 жыл бұрын
Great video. What about when we need it to be automatically? (When a new doc is added to a collection for example).
@jfversluis2 жыл бұрын
You’ll need to implement the same code to send the notification but then whenever the event happens that you want to trigger a notification for :)
@technicallysuperiorsolutio25162 жыл бұрын
Watched your video and Followed every step....everything worked great up until i got to the first test. First Test message worked great...got the token from the output. But...after that i ran into an issue....after refreshing the the app it did not generate the Token in the output. Tryna figure out why at the moment. Any idea why it doesnt generate any longer?
@andrewglasgow48122 жыл бұрын
For my app, I have the text message sender call and api that sends their message where the API stores the message with an associated conversation. It's a one-to-many relationship in my database (Conversation-->Messages and Conversation-->Subscribers). I want the API to also use Firebase to send a push notification to all other recipients in the conversation (usually just one) so that their app automatically calls an API to refresh all messages in the conversation and display any new/unread messages with a dot. How would I trigger the recipients to call api to refresh the conversation and show in phone app?
@stefanofioravanti7093 жыл бұрын
Awesome video 😍🔥 could you cover Firebase Authentication and maybe Authentication for Firestore security rules... I cannot find a lot of documentation for Xamarin.forms
@jfversluis3 жыл бұрын
Added it to the list, can't promise anything yet, but who knows! :)
@shivaninaeck25242 жыл бұрын
Great video. Learn a lot. But is there a more dynamic way to send the notifications rather than each time passing the tokens on the FCM Registration token?
@jfversluis2 жыл бұрын
Sure use topics!
@shivaninaeck25242 жыл бұрын
@@jfversluis Thank you.
@saicharan83763 жыл бұрын
hi, Gerald, I am a bit confused, as we are adding the token every time to the firebase, how to make it automatic without every time entering the token?
@jfversluis3 жыл бұрын
That’s just for the debugging. If skip over that part and select which all you want to send notifications too then it will be sent to all registered devices. Or alternatively, you can create topics that people subscribe to (by enabling or disabling something in your app) and you can send something to that topic. Firebase will know which tokens are subscribed to which app or which topic
@forme82763 жыл бұрын
شكرا لك انت الافضل .انت تقدم محتوى جيد جدا . احب شرحك الجميل I will recommend my friends to follow your channel
@jfversluis3 жыл бұрын
I have to admit I had to use Google Translate, but thank you so much! 😄
@GellClan3 жыл бұрын
Thx for a great Video again, yes Firebase Database would be also great
@jfversluis3 жыл бұрын
Noted! I'll see what I can do :)
@wickshot2 жыл бұрын
Hi, Great video. Do you have one where you can add icons and different sounds depending on notification data
@jfversluis2 жыл бұрын
I don't have that one yet, sorry!
@paddeeayen8442 Жыл бұрын
Your videos are very useful and to the point. Thanks. Could you please remake this video to work with .Net MAUI. I've been trying to get FCM to work in MAUI for 3 days now and we are frustrated to the point of building our app with another stack. Push notifications is a common thing, why is it so hard to do in MAUI
@jfversluis Жыл бұрын
I definitely will make this for .NET MAUI. I’m curious, why do you think this will be easier in other stacks? Personally I think push notifications are hard period. No matter what technology you’ll use 😅
@paddeeayen8442 Жыл бұрын
@@jfversluis I like .Net stuff and MAUI but some things are just so over the top difficult to get done in MAUI. For example, everything I have tried to do in firebase. I had to write my own wrapper on top of the REST api for firebase firestore to get to use it in MAUI. I can't get a REST api for the push notifications so I had to result to trying out each nuget package I found with examples of how to implement them. So far I got none to work. As for some of the other stacks, it looks so easy to do in the examples I have seen, maybe because google directly supports them.
@andreyskripnikov48023 жыл бұрын
Thank you, very useful video🤝
@jfversluis3 жыл бұрын
Glad you think so!
@mstarlingc2 жыл бұрын
Thank you!, one thing to notice, it doesn't work with the latest version and Android 12 either, have to see what changed and what's needed to adjust (at least in my case)
@jfversluis2 жыл бұрын
I think in one of the comments here there was a solution to make it work with Android 12
@arjaymaligaya62722 жыл бұрын
Hi Gerald this is great, but how to send push notification even the xamarin app is not running or terminated.
@jfversluis2 жыл бұрын
Check the FAQ on the repository for this plugin, there are some hints in there
@JaisonCanarys Жыл бұрын
Hey, thanks for the video, do we have option to disable push notification from app side for pushes with some particular tags? Thanks
@jfversluis Жыл бұрын
Not sure if I fully understand what you mean. But I’d say that is something you would want to fix on the server side when sending notifications
@JaisonCanarys Жыл бұрын
@@jfversluis Thanks for the quick response
@JaisonCanarys Жыл бұрын
@@jfversluis I need both firebase crashlytics and pushnotification, so on adding Plugin.FirebasePushNotification and Plugin.FirebaseCrashlytics, the android project throws error as "Type com.google.android.gms.internal.firebase_messaging.zza is defined multiple times: " Any suggestions on this? Thanks
@MohamedIT20083 жыл бұрын
is there anyway to see message when app in foreground --- very important >>> or tell me is there another way?
@jfversluis3 жыл бұрын
Just subscribe to the NotificationReceived event and show it anyway you like :)
@mikailkalkan98883 жыл бұрын
@@jfversluis can you show how to do it ?? im really struglling on that one
@dashrathsinghshekhawat6050 Жыл бұрын
once I registered the device there no problem with getting Token, but, after I delete app and test again the app doesn't get the Token. I cannot receive the notification anymore. how can I store token?
@HanneBychen2 жыл бұрын
Is it only possible to send Messages to running (minimized) Apps? When the app is completely ended, its not receiving anything. I think there are for example News Apps that receive push messages despite not running app?
@jfversluis2 жыл бұрын
It’s possible I think there might be a bug in the library that prevents this. Check the repo for that :)
@josa9512 жыл бұрын
Great video
@jfversluis2 жыл бұрын
Thank you so much Marko!
@TheLinkimos Жыл бұрын
Hi Gerald, Is that possible to implement push notifications in Xamarin while app is closed?
@jfversluis Жыл бұрын
This should work when the app is closed, yes
@sauravkumar2464 Жыл бұрын
If possible can you add a video for uwp as well?
@michael896852 жыл бұрын
Hello Gerald, thanks for this tutorial. have you ever implemented the part where the app is close? //Handle notification when app is closed here CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) => { }; How can one open the app from here? thank you.
@dolphinedge3 жыл бұрын
Great tutorial. Thanks a lot for sharing. I noticed you went specific to target api 26 for it to work. Now that Google has made it madetory to target api 30+. How will it work, in my old project it works fine. When I upgraded to target 30, things are dancing. Any work around.
@jfversluis3 жыл бұрын
That depends on what "things are dancing" means. That is not great information to give advice on :)
@dolphinedge3 жыл бұрын
@@jfversluis after this response, I cleaned the project of all old implementation of push notifications and started from scratch following your video and sample project. All is good now. Thanks alot.
@julybrown49162 жыл бұрын
Hi Gerald, thank you so much for this video it means a lot. Am new to this and I was debugging this on physical device today and somehow the notifications aren't going through. Is there something am missing?
@jfversluis2 жыл бұрын
Glad to be of service! However the question you’re asking is kind of hard to answer as I don’t know what you did or what you’re doing exactly:)
@julybrown49162 жыл бұрын
@@jfversluis Oh I meant that when I send push notifications from firebase console to my application installed on a physical device they didn't't get come through but later after toggling my app notifications default channel on and off they started coming through. Anyways thank you so much for this video and your reply, you got me binge watching your videos 📺 they very helpful, please keep up the good work. Much appreciated, kudos 👏
@nicoarabogdan60903 жыл бұрын
And how would one user send notification to another one. Let's say an appointment scenario. If I want to make an appointment for your course I send you a notification with details of the appointment (like date, course type etc) and you can accept/decline it and after your response I get notify with your response
@ranamohamed65893 жыл бұрын
Thank you so much you really helped me, but why notifications is not showing in the foreground
@jfversluis3 жыл бұрын
I think you have to do that yourself by implementing something in the on notification received handler
@reyanthonyflores2 жыл бұрын
Hi when I try to update to the latest version nuget package of the FCM it says 'FirebasePushNotificationManager' does not exist in the current context
@jfversluis2 жыл бұрын
Then they might’ve changed something in the latest version