Send Push Notification Using Firebase Admin SDK (.NET MAUI)

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

КОМЕНТАРІ • 28

  • @ogeroovie
    @ogeroovie Рік тому +2

    Many thanks for this amazing video. Simple and straight forward. Thanks

  • @Tc-hs8rp
    @Tc-hs8rp Рік тому +2

    Your channel is a gem

  • @brendoeduardo4555
    @brendoeduardo4555 Рік тому +3

    Muito bom o video, implementei em um projeto Maui Blazor e funcionou perfeitamente !

  • @ugochukwuumerie6378
    @ugochukwuumerie6378 Рік тому

    Multicast message would have been preferred for sending similar message but different tokens. Thanks for this content

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

    Very helpful video, could you please make video on sending push notification to all registered apps using firebase cloud messaging

  • @suhasmr2418
    @suhasmr2418 Рік тому +1

    Hi, thank you for the videos on implementing push notification for different platforms in .NET MAUI. Push notification using Firebase Admin SDK is working fine with android platform. Can you please elaborate the implementation for the IOS because I am not able to implement the same for the IOS Platform?

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

    Thanks!

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

    Very good

  • @ASX373
    @ASX373 11 місяців тому

    Great video :), how did you get the device token tho?

  • @MaddCoder
    @MaddCoder 9 місяців тому

    Will the push notification be sent to all the devices that has the app installed? Great video! Thanks!

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

      Yes I believe so but it depends on if they are assigned to the same topic

  • @chrisdungo1088
    @chrisdungo1088 Рік тому +1

    Hi Pragnesh, this code works, thank you very much for dedicating this video for us. I ran this code again a day later, and it wasn't sending any notifications. I then updated my admin_sdk.json file by regenerating the file on Firebase Admin SDK and replacing the current file with the newly generated one. Do I have to regenerate the private key every day if I want to send notifications for each day?

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому

      No, just one time you need to create.

    • @chrisdungo1088
      @chrisdungo1088 Рік тому

      Thanks for your reply. In this case, why wouldn’t it send a notification? Also, has this code been tested on iOS devices as well and it works?

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому

      Yes, i tested in real device, and i am not sure why it didnt work for, you might need to rebuild after adding sdk.

    • @chrisdungo1088
      @chrisdungo1088 Рік тому

      Yeah, maybe I did something wrong there, I did leave VS on since yesterday. I actually followed your firebase admin tutorial before applying iOS. I’ll update you on my progress!

  • @SergKoshelev
    @SergKoshelev Рік тому

    will it works in foreground? and in foreground if i click on notification it not gonna crash? i need to store tokens on a server and send it via firebase api from golang for example(server side is works with a golang lib)

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

    App icon doesn't show in notification when app is running in the background or closed. How can I resolve that?

  • @thiagoschmitz6286
    @thiagoschmitz6286 Рік тому

    Hi, thanks for the great video, I implemented all the things of this video and the other one on android, but I can´t receive notifications when I restart the device and do not open the app, do you know how I can do that?

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

    OnNewToken() method is not executing in same application

  • @ahmedmohamed-vh5ce
    @ahmedmohamed-vh5ce Рік тому +1

    when i use firebase admin sdk and try to send notification, i get exception "sendeId mismatch"? any idea about that ?

    • @ProgrammingWithPragnesh
      @ProgrammingWithPragnesh  Рік тому

      Hi that due to you might forgot to add your android or iOS app in firebase console, after that that google_service.json for android & google_service_info.plist file for ios Platform you need to add in your project.

  • @Sistemas-f2i
    @Sistemas-f2i 11 місяців тому

    how can i get the Firebase Token?

  • @pradipnag7361
    @pradipnag7361 Рік тому

    How to handle click on push notification when app is closed