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

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 73

  • @MaddCoder
    @MaddCoder 8 місяців тому +6

    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  8 місяців тому +1

      Thanks for appreciation. I recorded my video in Hindi my mother tongue :)

  • @MrNams
    @MrNams 7 місяців тому +3

    Great tutorial, optimized video.

    • @xamworld9239
      @xamworld9239  7 місяців тому +2

      Thanks!

    • @MrNams
      @MrNams 6 місяців тому +1

      @@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 6 місяців тому +1

      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 Місяць тому

    Your Videos is becoming very famous !!! best knowledge in very simple way !!!! :)

  • @josealbertosuarezcarrillo5111
    @josealbertosuarezcarrillo5111 4 місяці тому

    Excelent video!!! I watched many videos and tutorials and this work the first time

  • @nishantkumar681
    @nishantkumar681 8 місяців тому +1

    Thanks man, you solve my problem that I'm facing firebase nugets , hut's off from my side.

  • @NapoleoneLiparoti
    @NapoleoneLiparoti 6 місяців тому +2

    Many thanks. Great work!

  • @hypegaminghypegamer8887
    @hypegaminghypegamer8887 Місяць тому +1

    Sir This is my humbal Request . Please make a new video how to Migrate Xamarin Forms Application to .net MAUI

  • @UtkarshShukla-p8g
    @UtkarshShukla-p8g Місяць тому

    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  25 днів тому

      you can add icons in platform specific folder(Resource.Drawable.UR_ICON) and use it.

  • @fasvz
    @fasvz 3 місяці тому

    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  3 місяці тому +1

      Encantada, está trabajando para ti :)

  • @ganeshnsalanke7855
    @ganeshnsalanke7855 2 місяці тому

    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  2 місяці тому

      Okay, I will try to create video on it. Else will give points. Thanks

  • @sakabas28
    @sakabas28 3 місяці тому +1

    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  3 місяці тому

      You need to create web api, who get token of given ID and send notification to particular user/device.

    • @shrinathhirugade9691
      @shrinathhirugade9691 Місяць тому

      @@xamworld9239 please show that, cause this is basic level video..

    • @SanchayGaurav
      @SanchayGaurav Місяць тому

      @@xamworld9239 make a video for this

  • @patryk16131
    @patryk16131 6 місяців тому +2

    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  6 місяців тому

      Good to hear, now working for you !!

  • @ibsmdmosabbir
    @ibsmdmosabbir 23 дні тому

    if i am targeting android, iOS , windows, mac then what i do to implement push notification for android and mac both ,

    • @xamworld9239
      @xamworld9239  22 дні тому

      This nugget support only Android and IOS. not windows

  • @positiveVibesByUniverse001
    @positiveVibesByUniverse001 8 місяців тому

    Working for me, great 👍

  • @khalil2099
    @khalil2099 8 місяців тому

    tq. worked for me.

  • @Remusqs1
    @Remusqs1 5 місяців тому

    Great video. Do you know how to send and receive notifications when your app is close (Not running on background neither)?

    • @xamworld9239
      @xamworld9239  5 місяців тому

      It's working when app is closed or in background.

  • @moser528
    @moser528 Місяць тому

    my google token keep expiring after 20 min and return error System: Error sending message: Requested entity was not found.

    • @xamworld9239
      @xamworld9239  Місяць тому

      Try to uninstall the app and again install.

  • @hossammetwally07
    @hossammetwally07 Місяць тому

    Can I use the same approach using Plugin.FirebasePushNotification? because Plugin.Firebase can't be installed

  • @dreamworldpresents3066
    @dreamworldpresents3066 7 місяців тому

    Did you tried to read DATA at on notification received event?

    • @xamworld9239
      @xamworld9239  7 місяців тому

      Yes, You can get data in MainActivity.cs file in following override method:
      protected override void OnNewIntent(Intent intent){
      }

  • @yaseenafzal6162
    @yaseenafzal6162 3 місяці тому

    Plugin.firebase is not installing on my dotnet core 7 MAUI app

    • @xamworld9239
      @xamworld9239  3 місяці тому

      you need to change version, because I implemented with 8.0

    • @yaseenafzal6162
      @yaseenafzal6162 3 місяці тому

      @@xamworld9239 you mean its not work in dotnet 7.0

  • @pharmaphobia4122
    @pharmaphobia4122 7 місяців тому

    can we send same message to multiple numbers through .net?

    • @xamworld9239
      @xamworld9239  7 місяців тому

      you mean multiple users, Yes you can

  • @vknigam1988
    @vknigam1988 3 місяці тому

    Followed same steps, but not receiving notification

    • @xamworld9239
      @xamworld9239  3 місяці тому

      okay, Share your practice code. I will help

  • @zoober2217
    @zoober2217 7 місяців тому

    I'm getting this error when click the button "Default FirebaseApp is not initialized in this process"

    • @zoober2217
      @zoober2217 7 місяців тому +1

      Figured out, in my generated google-services.json the package_name was different /case sensitive/

    • @sefasuna1363
      @sefasuna1363 7 місяців тому

      @@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  6 місяців тому

      try with attached code. Its working.

  • @yaseenafzal6162
    @yaseenafzal6162 3 місяці тому

    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  3 місяці тому

      try to remove IOS reference from project file and then try to install. It may help.

    • @yaseenafzal6162
      @yaseenafzal6162 3 місяці тому

      @@xamworld9239 but i want in android and IOS both

  • @teknasrl1
    @teknasrl1 5 місяців тому

    Great, thanks for IOS?

    • @xamworld9239
      @xamworld9239  5 місяців тому

      Unfortunately no. For ios need enterprise developer account then will create a development/ distribution certificate with push notification. I don't have Enterprise account.

  • @camillejose9243
    @camillejose9243 8 місяців тому

    Is this also works for WinUI?

    • @xamworld9239
      @xamworld9239  8 місяців тому

      No, Its working for Android and IOS only.

  • @pubg-gamer2188
    @pubg-gamer2188 6 місяців тому

    How to implement this in iOS platform?

    • @xamworld9239
      @xamworld9239  6 місяців тому +1

      Same way as Android. Need to create another app in firebase console and use that json file in project.

    • @sefasuna1363
      @sefasuna1363 6 місяців тому

      Can you share a video which is about İos for notification ? bc It is not same with Android @ld9239

    • @ducvunguyen5607
      @ducvunguyen5607 5 місяців тому

      @@xamworld9239 I have some problem when implement in iOS flatform, can you do it like android and upload the video?

  • @prakashsza
    @prakashsza 8 місяців тому +1

    please dubb the video in english

    • @xamworld9239
      @xamworld9239  8 місяців тому

      Will try.

    • @khalil2099
      @khalil2099 8 місяців тому

      u can just check the source code and learn from there

  • @hypegaminghypegamer8887
    @hypegaminghypegamer8887 Місяць тому +1

    Sir This is my humbal Request . Please make a new video how to Migrate Xamarin Forms Application to .net MAUI