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!
@vitalchance57682 жыл бұрын
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!
@jfversluis2 жыл бұрын
Glad to be able of service! :)
@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! :)
@davidescalante26424 ай бұрын
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
@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 ??
@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!
@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 :)
@NunoSoaresOnline2 жыл бұрын
Thank you for the great tutorial, Gerald! Truly appreciated! Please do a video on integrating notifications sent with an Azure notification hub.
@jfversluis2 жыл бұрын
Will look into it!
@miriamwalter20282 жыл бұрын
Thank you for this excellent tutorial. I have so much tested and now it works.
@jfversluis2 жыл бұрын
Great to hear Miriam! Thanks so much for taking the time to let me know!
@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 :)
@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 :)
@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!
@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!
@SmartAzan2 жыл бұрын
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)?
@jfversluis2 жыл бұрын
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
@juanjbarrionuevo2 жыл бұрын
I can't thank you enough for this step-by-step tutorial! Great job!! Great tutorial!!
@jfversluis2 жыл бұрын
Thanks! Glad it is helpful!
@danm20922 ай бұрын
Great video, thanks so much!
@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!
@interpreter58442 жыл бұрын
Thanks for you🖤🖤
@jfversluis2 жыл бұрын
My pleasure!
@robertocruz2313 жыл бұрын
Great tutorial, you are the best!
@jfversluis3 жыл бұрын
Thank you!
@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!
@usamaelhamed43243 жыл бұрын
Thanks Gerald, every video is perfect and useful
@jfversluis3 жыл бұрын
Thank you Usama!
@josedonizeteoliveirajunior17443 жыл бұрын
Perfect guy, I suffered from it a few days ago. Thanks
@jfversluis3 жыл бұрын
Hope this helps!
@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! 😄
@HD_CyberSecInsights3 жыл бұрын
Thank you! You provide so much value content!
@jfversluis3 жыл бұрын
Thank you so much David! Glad you think so!
@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!
@gustavobarbosa88612 жыл бұрын
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!
@jfversluis2 жыл бұрын
The video about sending push notifications is here: kzbin.info/www/bejne/jHqUqJqboN9okK8
@deaasaleh36133 жыл бұрын
Great video 💪 Thank you Jerald
@jfversluis3 жыл бұрын
Thank you!
@emmanueladebiyi21093 жыл бұрын
Awesome stuff 💪🏽
@jfversluis3 жыл бұрын
Thanks Emmanuel!
@satyendra13132 жыл бұрын
Very good tutorial, Thanks dear...
@jfversluis2 жыл бұрын
Thanks for watching Satyendra!
@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
@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
@adinwashere3 жыл бұрын
You make it look so simple 👍
@jfversluis3 жыл бұрын
If I can do it, you certainly can too!
@adinwashere3 жыл бұрын
@@jfversluis 😁
@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 :)
@zoyanoor74503 ай бұрын
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.
@edmatixmazik8482 жыл бұрын
Excellent tutorial, many thanks Gerald! Please do a video on how to show the notification count over app icon in xamarin android
@jfversluis2 жыл бұрын
I don’t think that’s possible on Android? At least not all Android versions
@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!
@leosouza1520 Жыл бұрын
Hey Gerald, how about push notification in MAUI? It would be a great video!
@jfversluis Жыл бұрын
Absolutely! It’s coming!
@andreyskripnikov48023 жыл бұрын
Thank you, very useful video🤝
@jfversluis3 жыл бұрын
Glad you think so!
@RaabStephan3 жыл бұрын
Legend!
@jfversluis3 жыл бұрын
Wait for it.... dary!
@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 :)
@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 :)
@ChanoTSG2 жыл бұрын
i love so much xamarin forms
@jfversluis2 жыл бұрын
Me too!
@GellClan3 жыл бұрын
Thx for a great Video again, yes Firebase Database would be also great
@jfversluis3 жыл бұрын
Noted! I'll see what I can do :)
@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! :)
@SayyadHasan3 жыл бұрын
Awesome 👏🏻 👏🏻 👏🏻 can you please update push notifications for iOS too
@jfversluis3 жыл бұрын
It’s coming don’t worry 😉
@briansavage45863 жыл бұрын
Brilliant. I messed around with several different samples until I found this, which made it Soooo simple I got it working in my app in parallel to the video. Thanks. Now moving on to the iOS version. Would really like to see how you can implement in a server so I can send messages from it through Firebase.
@jfversluis3 жыл бұрын
Thank you Brian! That was exactly my goal :) I noticed about a lot of documentation and docs that small details were missing which make it not work. With a video that’s not possible, I have to show a working demo so I need to show all the bits :) glad I was able to do that! Sending a notification through code is coming!
@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
@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!
@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).
@josa9512 жыл бұрын
Great video
@jfversluis2 жыл бұрын
Thank you so much Marko!
@hdgmar17252 жыл бұрын
excellent !!
@jfversluis2 жыл бұрын
Thank you! Push notifications in combination with .NET MAUI will definitely come!
@minhtuan7372 жыл бұрын
You can make a tutorial to change the status bar notification icon and add an image to the notification, it's great
@emmanuelramos29673 жыл бұрын
This is great, thanks
@jfversluis3 жыл бұрын
Thank you! Glad you think so!
@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 :)
@ismailzumrawi2 жыл бұрын
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."
@jfversluis2 жыл бұрын
There can be only one class marked as application. You’re going to need to combine those :)
@ismailzumrawi2 жыл бұрын
@@jfversluis thanks , also token generated by OAuth(webapi). is different from token generator by xamarin forms how to make them same
@jfversluis2 жыл бұрын
Not sure what you mean… Oauth tokens are supposed to be different
@ismailzumrawi2 жыл бұрын
@@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
@ismailzumrawi2 жыл бұрын
@@jfversluis in your video you take tokens from the output window so how can I get it from code
@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 :)
@r.gopalakrishnan69263 жыл бұрын
Very useful
@jfversluis3 жыл бұрын
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
@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
@SwaroopaDiaries14 Жыл бұрын
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.
@jfversluis Жыл бұрын
A todo app is always popular 😄
@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.
@xxThemoritzxx Жыл бұрын
Brilliant, any changes for MAUI? Is Windows working as well? Greetings
@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
@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! :)
@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
@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.
@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 :)
@YoUserExp3 жыл бұрын
Hello. I am Manyofyou! You are welcome :) .
@jfversluis3 жыл бұрын
You are what? 😱
@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); } }
@yannicknfankou77399 ай бұрын
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?
@amiraelsayed81312 жыл бұрын
thanks for this tutorial , I have an issue on Notification opened not fire
@jfversluis2 жыл бұрын
Please check the documentation of the plugin. Not sure why that could happen.
@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?
@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
@MiguelPrieto3 жыл бұрын
You are the best! Thanks so much... I have another request for you, could you explains how you can use authentication with differents socials medias like Facebook, Google, etc
@jfversluis3 жыл бұрын
Thank you Miguel! That one is one the list. Not sure how fast I will get to it :)
@anassnassim3 жыл бұрын
thank you you are the best
@jfversluis3 жыл бұрын
Well... I don't know about that :D But 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
@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
@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.
@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.
@thiagooliveira41923 жыл бұрын
Thanks!
@jfversluis3 жыл бұрын
Thank you for watching!
@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?
@shivamar1233 жыл бұрын
Please also explain How to send Image with text .
@jfversluis3 жыл бұрын
On the todo list!
@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
@1desgerasl2 жыл бұрын
Hello, excelent video, one question, do you do remote personal assistance?
@jfversluis2 жыл бұрын
Thank you Gerardo! Unfortunately I do not, sorry!
@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.
@user-en5wq5xn7r2 ай бұрын
do you have a drop date for the MAUI version of this video. It was so helpful, thank you
@jfversluis2 ай бұрын
Thank you! Unfortunately not yet. It’s a lot of work I keep pushing it back 😅 I’ll get to it soon!
@Dj_Soundwave Жыл бұрын
does this work the same with MAUI? i'm a student at PXL Hasselt and we have to make a project with MAUI
@jfversluis Жыл бұрын
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
@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?
@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.
@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!
@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
@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?
@MohamedIT20083 жыл бұрын
how I can send this notification by xamarin forms app not firebase console, I hope to send this notification to many mobile from inside my xamarin forms app?
@jfversluis3 жыл бұрын
Video is coming on that :)
@sauravkumar2464 Жыл бұрын
If possible can you add a video for uwp as well?
@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
@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
@ericvnh57452 жыл бұрын
Hello ! what an amazing video ! finally a simply way to implement push notifications in a xamarin.forms project! It's working fine !! Is there a way to add an image in the notification (as KZbin for example) ? In firebase, when I test a sending message, I add an image URL in the form, but when the notification is received on the android device, the image is not present. Thank you in advance, and great job !! :)
@jfversluis2 жыл бұрын
Thanks so much! Glad it helped! I think if you provide an image in the right field it should show automatically.
@ericvnh57452 жыл бұрын
@@jfversluis Thank you for your response ! I putted an URL of an image in the right field in the Firebase Cloud Messaging testing tool, but it doesn't appears in the received notification, however title and message are correctly displayed :) Could it be a specific parameter to add somewhere in manifest or in code ?
@jfversluis2 жыл бұрын
@@ericvnh5745 Maybe this plugin doesn't support it. Did you only try Android or also iOS?
@ericvnh57452 жыл бұрын
@@jfversluis only Android for the moment
@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
@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?