Send Push Notification Using Firebase Admin NuGet (.NET MAUI 8.0)

  Рет қаралды 11,382

XamWorld

XamWorld

Күн бұрын

Пікірлер
@MaddCoder
@MaddCoder 11 ай бұрын
I didn't understand what you said, but this video is GREAT! It's very detailed with step by step instructions and link to the github project files is helped a lot! I've tried to so many different tutorials and none of them worked with .net maui 7.0 android, but I got my project working immediately! Thanks for sharing and keep up the great work!
@xamworld9239
@xamworld9239 11 ай бұрын
Thanks for appreciation. I recorded my video in Hindi my mother tongue :)
@MrNams
@MrNams 10 ай бұрын
Great tutorial, optimized video.
@xamworld9239
@xamworld9239 10 ай бұрын
Thanks!
@MrNams
@MrNams 10 ай бұрын
@@xamworld9239I have create application for IOTdevices, How to get notification as soon as data in firebase is updated, i want notification as soon as light is turned on, when ligh turns on my ESP update data in firebase from 0 to 1, so when value changes from 0 to 1 app should show notification? could you please point me to material to implement it
@MrNams
@MrNams 10 ай бұрын
An update from my side, it works when i deployed it on mobile, issue i mentioned above is with emulator, now only issue with me is i need to get notification when realtime database is updated.
@hypegaminghypegamer8887
@hypegaminghypegamer8887 4 ай бұрын
Your Videos is becoming very famous !!! best knowledge in very simple way !!!! :)
@xamworld9239
@xamworld9239 4 ай бұрын
Thank you so much 😀
@nishantkumar681
@nishantkumar681 11 ай бұрын
Thanks man, you solve my problem that I'm facing firebase nugets , hut's off from my side.
@xamworld9239
@xamworld9239 11 ай бұрын
You are most welcome
@mohanroyindia
@mohanroyindia 2 ай бұрын
Excellent, well explained... Thanks
@xamworld9239
@xamworld9239 2 ай бұрын
Glad it was helpful!
@josealbertosuarezcarrillo5111
@josealbertosuarezcarrillo5111 7 ай бұрын
Excelent video!!! I watched many videos and tutorials and this work the first time
@xamworld9239
@xamworld9239 7 ай бұрын
Glad to know, Thanks :)
@antoniomoscati3104
@antoniomoscati3104 Ай бұрын
Finally a solution that works. Thanks But how can I manage multiple notification channels?
@xamworld9239
@xamworld9239 26 күн бұрын
Glad it was helpful!
@patryk16131
@patryk16131 9 ай бұрын
Not working for me :/ Im do all what in video and not working. Clone your repository and working Replace your files with mine and not working :) When im start app, it dont ask about permissions, idk why EDIT: NVM working now :)
@xamworld9239
@xamworld9239 9 ай бұрын
Good to hear, now working for you !!
@NapoleoneLiparoti
@NapoleoneLiparoti 9 ай бұрын
Many thanks. Great work!
@xamworld9239
@xamworld9239 9 ай бұрын
Glad you liked it!
@UtkarshShukla-p8g
@UtkarshShukla-p8g 4 ай бұрын
Hey @XamWorld thanks for the explaination how can i use the platform specific resource folder so that i can use small icon from that folder?
@xamworld9239
@xamworld9239 4 ай бұрын
you can add icons in platform specific folder(Resource.Drawable.UR_ICON) and use it.
@dreamworldpresents3066
@dreamworldpresents3066 11 ай бұрын
Did you tried to read DATA at on notification received event?
@xamworld9239
@xamworld9239 11 ай бұрын
Yes, You can get data in MainActivity.cs file in following override method: protected override void OnNewIntent(Intent intent){ }
@ibsmdmosabbir
@ibsmdmosabbir 4 ай бұрын
if i am targeting android, iOS , windows, mac then what i do to implement push notification for android and mac both ,
@xamworld9239
@xamworld9239 4 ай бұрын
This nugget support only Android and IOS. not windows
@sakabas28
@sakabas28 6 ай бұрын
how to send notifications from Web API? Like if any change is made by Admin in the Database, it should send a notification to the particular in who's account the changes are made. Example: If admin changes the Status of order placed by any Particular User (User ID 1001, it should send the notification to the User ID 1001 that Status of order is Processed/Dispatched or whatever status is selected by the admin from the Web Portal)
@xamworld9239
@xamworld9239 6 ай бұрын
You need to create web api, who get token of given ID and send notification to particular user/device.
@shrinathhirugade9691
@shrinathhirugade9691 5 ай бұрын
@@xamworld9239 please show that, cause this is basic level video..
@SanchayGaurav
@SanchayGaurav 4 ай бұрын
@@xamworld9239 make a video for this
@fasvz
@fasvz 7 ай бұрын
No entendi muy bien lo que dijiste, pero realice los pasos que muestras y me funcionó a la primera, ya tenia varios dias batallando para implementar FCM en maui 8
@xamworld9239
@xamworld9239 7 ай бұрын
Encantada, está trabajando para ti :)
@ganeshnsalanke7855
@ganeshnsalanke7855 6 ай бұрын
Hi, great video! Can you provide instructions on how to implement this for iOS? Are there any platform-dependent settings and code specific to iOS that I should be aware of? Detailed instructions would be very helpful. Thank you!
@xamworld9239
@xamworld9239 6 ай бұрын
Okay, I will try to create video on it. Else will give points. Thanks
@yaseenafzal6162
@yaseenafzal6162 7 ай бұрын
Plugin.firebase is not installing on my dotnet core 7 MAUI app
@xamworld9239
@xamworld9239 6 ай бұрын
you need to change version, because I implemented with 8.0
@yaseenafzal6162
@yaseenafzal6162 6 ай бұрын
@@xamworld9239 you mean its not work in dotnet 7.0
@zoober2217
@zoober2217 10 ай бұрын
I'm getting this error when click the button "Default FirebaseApp is not initialized in this process"
@zoober2217
@zoober2217 10 ай бұрын
Figured out, in my generated google-services.json the package_name was different /case sensitive/
@sefasuna1363
@sefasuna1363 10 ай бұрын
@@zoober2217 I received same error "Make sure to call FirebaseApp.initializeApp(Context) first.' " I didn't fix it. I've changed google-services.json but it didn't work
@xamworld9239
@xamworld9239 10 ай бұрын
try with attached code. Its working.
@michaltesik5977
@michaltesik5977 Ай бұрын
@@xamworld9239 sadly it isnt for me :(
@hossammetwally07
@hossammetwally07 5 ай бұрын
Can I use the same approach using Plugin.FirebasePushNotification? because Plugin.Firebase can't be installed
@xamworld9239
@xamworld9239 5 ай бұрын
Yes, u can :)
@thomasgalliker
@thomasgalliker 2 ай бұрын
Plugin.FirebasePushNotifications is an alternative I can recommend ;-)
@pharmaphobia4122
@pharmaphobia4122 11 ай бұрын
can we send same message to multiple numbers through .net?
@xamworld9239
@xamworld9239 11 ай бұрын
you mean multiple users, Yes you can
@moser528
@moser528 5 ай бұрын
my google token keep expiring after 20 min and return error System: Error sending message: Requested entity was not found.
@xamworld9239
@xamworld9239 5 ай бұрын
Try to uninstall the app and again install.
@abnerssouza
@abnerssouza 3 ай бұрын
Do you have the ios Part?
@xamworld9239
@xamworld9239 3 ай бұрын
No, I don't have now. Share ur code I will check and try to help.
@abnerssouza
@abnerssouza 3 ай бұрын
We are trying to ios implementation but not able to make it work
@xamworld9239
@xamworld9239 3 ай бұрын
Please check the notification permission.
@yaseenafzal6162
@yaseenafzal6162 7 ай бұрын
this error will come in output window .System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admin\.nuget\packages\xamarin.firebase.ios.installations\8.10.0.3\lib et6.0-ios15.4\Firebase.Installations.resources\FirebaseInstallations.xcframework\ios-arm64_x86_64-simulator\FirebaseInstallations.framework\Headers\FirebaseInstallations-umbrella.h'.
@xamworld9239
@xamworld9239 6 ай бұрын
try to remove IOS reference from project file and then try to install. It may help.
@yaseenafzal6162
@yaseenafzal6162 6 ай бұрын
@@xamworld9239 but i want in android and IOS both
@vknigam1988
@vknigam1988 7 ай бұрын
Followed same steps, but not receiving notification
@xamworld9239
@xamworld9239 7 ай бұрын
okay, Share your practice code. I will help
@wajdialsalti7331
@wajdialsalti7331 3 ай бұрын
@@vknigam1988 u need to allow notification permissions
@Remusqs1
@Remusqs1 9 ай бұрын
Great video. Do you know how to send and receive notifications when your app is close (Not running on background neither)?
@xamworld9239
@xamworld9239 9 ай бұрын
It's working when app is closed or in background.
@MinhNguyen-xf3dn
@MinhNguyen-xf3dn 9 күн бұрын
You deleted all that related to iOS. Does this solution ONLY work with Android?
@xamworld9239
@xamworld9239 7 күн бұрын
I deleted ios reference because I don't have MAC that time. So sometime during build project it gives error.
@xamworld9239
@xamworld9239 7 күн бұрын
Try to remove ios if its works for u
@wajdialsalti7331
@wajdialsalti7331 3 ай бұрын
thanks thanks it is really work but how did u get this code because i searched every where but no luck.🥰 but thanks
@xamworld9239
@xamworld9239 3 ай бұрын
You're welcome! 😊 I'm glad it worked for you! I spent some time researching and experimenting to find the code. Happy to help!
@wajdialsalti7331
@wajdialsalti7331 3 ай бұрын
@xamworld9239 just a note for people that doesn't work .they need to allow permission for notification first.
@camillejose9243
@camillejose9243 11 ай бұрын
Is this also works for WinUI?
@xamworld9239
@xamworld9239 11 ай бұрын
No, Its working for Android and IOS only.
@positiveVibesByUniverse001
@positiveVibesByUniverse001 11 ай бұрын
Working for me, great 👍
@xamworld9239
@xamworld9239 11 ай бұрын
Good to hear
@hypegaminghypegamer8887
@hypegaminghypegamer8887 4 ай бұрын
Sir This is my humbal Request . Please make a new video how to Migrate Xamarin Forms Application to .net MAUI
@xamworld9239
@xamworld9239 4 ай бұрын
ok
@pubg-gamer2188
@pubg-gamer2188 10 ай бұрын
How to implement this in iOS platform?
@xamworld9239
@xamworld9239 10 ай бұрын
Same way as Android. Need to create another app in firebase console and use that json file in project.
@sefasuna1363
@sefasuna1363 10 ай бұрын
Can you share a video which is about İos for notification ? bc It is not same with Android @ld9239
@ducvunguyen5607
@ducvunguyen5607 9 ай бұрын
@@xamworld9239 I have some problem when implement in iOS flatform, can you do it like android and upload the video?
@TB-db
@TB-db 24 күн бұрын
not recieving notifications on android using repo code
@xamworld9239
@xamworld9239 21 күн бұрын
you get on real devices only
@TB-db
@TB-db 19 күн бұрын
@xamworld9239 it does not work on mine s22 ultra
@xamworld9239
@xamworld9239 15 күн бұрын
Please check ur app permissions, Sometime Notification disabled. You need to enable manually for ur app from Settings.
@TB-db
@TB-db 14 күн бұрын
@@xamworld9239 I have checkt the permissions on mine phone and it still doesn't work.
@teknasrl1
@teknasrl1 8 ай бұрын
Great, thanks for IOS?
@xamworld9239
@xamworld9239 8 ай бұрын
Unfortunately no. For ios need enterprise developer account then will create a development/ distribution certificate with push notification. I don't have Enterprise account.
@khalil2099
@khalil2099 11 ай бұрын
tq. worked for me.
@xamworld9239
@xamworld9239 11 ай бұрын
Great!
@prakashsza
@prakashsza 11 ай бұрын
please dubb the video in english
@xamworld9239
@xamworld9239 11 ай бұрын
Will try.
@khalil2099
@khalil2099 11 ай бұрын
u can just check the source code and learn from there
@hypegaminghypegamer8887
@hypegaminghypegamer8887 4 ай бұрын
Sir This is my humbal Request . Please make a new video how to Migrate Xamarin Forms Application to .net MAUI
@xamworld9239
@xamworld9239 4 ай бұрын
ok
@xamworld9239
@xamworld9239 4 ай бұрын
ok
Send Push Notification Using Firebase Admin SDK (.NET MAUI)
10:03
Programming With Pragnesh
Рет қаралды 16 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
How I implement PWA push Notification
14:21
Daily Web Coding
Рет қаралды 14 М.
Local Push Notifications with .NET MAUI, Easy With This Plugin!
17:29
Gerald Versluis
Рет қаралды 37 М.
📱Android Push Notifications • Flutter x Firebase Tutorial
12:39
Take Pictures in Your App with CameraView for .NET MAUI
19:05
Gerald Versluis
Рет қаралды 9 М.
How to add a database to your bolt.new app
7:43
StackBlitz
Рет қаралды 41 М.
Publishing .NET MAUI Apps to the Stores Made Easy
12:19
Gerald Versluis
Рет қаралды 12 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН