Flutter Send Push Notification Firebase Cloud Messaging API (V1) | New FCM API OAuth2 Tutorial 2024

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 81

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

    Nice! can we have notification series??..... device to device.....server to device......

  • @thc8706
    @thc8706 2 місяці тому +1

    thank you, great tutorial!

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

    This helped me a lot. Thanks man!

  • @wasimsafdarhumma5515
    @wasimsafdarhumma5515 6 місяців тому +3

    Excellent tutorial. Can you please also tell that how to handle "click_action" in flutter app when user clicks on notification?

  • @14.truonghoangha71
    @14.truonghoangha71 Місяць тому

    awesome, you save my day!

  • @RohanKumar-rx1qx
    @RohanKumar-rx1qx 4 місяці тому +1

    Excellent Brother!

  • @derrickomondi3597
    @derrickomondi3597 4 місяці тому +1

    thank you for the update Sir

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

      Please help guide me how you update code is the code update in bht app user and driver

  • @AbdulSalam-nr9kw
    @AbdulSalam-nr9kw 6 місяців тому +1

    Thank you so much. ❤

  • @naveedkhan-hk4rd
    @naveedkhan-hk4rd 6 місяців тому +1

    Thank You Brother.

  • @RahulPandharkar-v1n
    @RahulPandharkar-v1n Місяць тому +1

    Is it advisable to run the code to get the access token once, and then statically save that somewhere and keep using the same access token instead of generating it again?
    Because I don't want to request for access token every time when someone runs the app.

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

      Use firebase cli, you can handle most of things automatically.

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

    Big love

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

    Thanks i have been struggling

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

    Any IDEA on ios Device?

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

    konsa AppInfo package using Kiya Hai 16:50

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

    great video but one doubt that should i need to get access token whenever send the push notificatoin or we can store it in prefrence and use it without getting from server again?

  • @HaBuCoGame
    @HaBuCoGame 6 місяців тому +3

    The name 'AppInfo' isn't a type, so it can't be used as a type argument.
    Try correcting the name to an existing type, or defining a type named 'AppInfo'.dartnon_type_as_type_argument Help Pls ?

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

    Thank you for the tutorial. It works on Android but not iOS. Do we need to do anything different for iOS?

    • @MuhammadAli-gw6hl
      @MuhammadAli-gw6hl 7 місяців тому +1

      Yes for ios you need apple developer account for which you have to pay 99 use every year.

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

    how to get the bearer token any command to get it so i can use it in the postman

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

    can you share me the video of postman and can we sent to multiple users

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

    Sir PlayStore account is required to get notificaton for debugging mode / Developing time ?

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

    Brother, I need you to answer a question about how the Firebase lifecycle works - FCM HTTP v1 API with OAuth 2 access tokens, I watched your video in Flutter, to try to practice in Kotlin. Can you answer here so I can ask you questions?
    I don't need to send a message to all users of a device package, I need to start by choosing a device user and sending an exclusive message to him.

    • @raqueligoncalves9099
      @raqueligoncalves9099 2 місяці тому +1

      If I understand correctly, you can use topics. Subscribe the user to a topic (e.g., the userId) and pass the topic in the message

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

    6:15 Is it really safe to have those credentials on flutter when one can reverse engineer your app and get access to the code?

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

    How to send notification in multiple device?

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

    youre a life fuking saver. it worked for me

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

      how did you import the 'AppInfo' !

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

      @@mhmmadxhx5678 what timestamp in the video?

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

      @@hah407 16:39

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

    how do i send to multiple devices? they should receive it all at the same time

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

    notification is not showing in device

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

    Please teach me about in-app purchase,If you cancel your subscription on Google Play, how do you know it on Flutter and immediately update and cancel the function to users? Thank you.

  • @usamaqadeer1416
    @usamaqadeer1416 5 місяців тому +1

    Multiple token pay kesay send ho ga notification phele main registration_id say kar rha tha ab nhi hota aus say e.g mujy srf notification sirf rider ko bejna hai

  • @bond_the_man
    @bond_the_man 4 місяці тому +1

    How do I get the value for the deviceToken?

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

      Check here:
      ua-cam.com/video/PQ7Sb0aY3Rs/v-deo.html

  • @Sarthak-r2y
    @Sarthak-r2y 4 місяці тому

    why it does not show notifications as a banner over other apps..?

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

    Java script web cloud messaging api enabled method please video created sir

  • @AsadBangash-ww2vd
    @AsadBangash-ww2vd 6 місяців тому

    Sir, At first we were giving our project server key to backend developer to handle the notification. Now how can we handle the notification what will we have give to our backend developer. Plz anyone

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

    How to make a group chat, one device sends a message and multiple devices get the notification

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

    Haloo Brother hhow to send to multiple device token? Thanks

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

    02:13
    04:20
    14:04

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

    How about php can do this? please give me some hint.

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

    Is this applicable for webapp?

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

    can anyone help me? how can i call the service code in the button in my homepage in my app

  • @HarishRaja-v7n
    @HarishRaja-v7n Місяць тому

    Is the access token expired after 60 minutes or it is permanent ?
    Because I am facing this after 1 hour
    Unhandled Exception: Failed to obtain access credentials. Error: invalid_grant Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values in the JWT claim. Status code: 400

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

    Thank you. it work in android, but not working on ios! Why?

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

    Hello sir you have only to get FCM KEY video? because i apps that i need to input only FCM KEY, but i cannot get directly from android studio this is my problem now sir this FCM KEY, hoping you have this sir, thank you

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

      bro u can do ur work ,and do how can you do it ,bcs i also make serverside api but ,don't have applicatin access,and how can i test it

  • @BUNNY-wq4ms
    @BUNNY-wq4ms 5 місяців тому

    Brother can you share git repository of this code

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

    I did the same but notification is not coming to my device when I run the sendNotification func

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

      it is coming my bad

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

    How can i send the notification when a document is added to firebase?

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

    cane you provide this code pleas ? 🤗.. thank you so much

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

    Project link is not working man

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

      check now please: www.udemy.com/course/build-uber-clone-with-admin-web-panel-flutter-firebase/?couponCode=B5D84D3C9359FD13BDCF

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

    Can you provide the source code?

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

      www.udemy.com/course/build-uber-clone-with-admin-web-panel-flutter-firebase/?couponCode=B5D84D3C9359FD13BDCF

  • @thegameboy-sb3ux
    @thegameboy-sb3ux 6 місяців тому

    Worth a subscribe and solved the issue,
    Kudos(●'◡'●)

  • @AbdulBasit-wv7gc
    @AbdulBasit-wv7gc 5 місяців тому

    can we get code?

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

    Flutter is dead ... Switch to another tech man

    • @MuhammadAli-gw6hl
      @MuhammadAli-gw6hl 7 місяців тому +2

      how please explain? Prove it

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

      Stop propaganda flutter is the most popular framework in world now the layoffs about some employees was misinformation the flutter team manager themson has explained everything flutter will go anywhere

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

      ​@@MuhammadAli-gw6hlbro continue your good job do not listen to these new kotlin (compose) fan boys even Google new operating system Fuschia adopt flutter not kotlin or KMP that means flutter is also future and it will go anywhere

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

      @@ahmedbathily7013 lol ... I'm not even into app development I'm in Aiops & LLMops ... I just commented that way because 2 years back i used to do flutter projects & i never saw growth in it no packages not very versatile & to this is always say react native is better & truth is now there are alternatives ... Just because you learnt something means you should be sticking with it all the time ... Look at other tech & identify the trends ... It's about adaptability in IT industry if flutter becomes dead can you shift to other tech right away ? Learn Alternative tech as well now with ai every job can in jeopardy...accept truth Flutter is not doing much in app development race

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

      @@ahmedbathily7013 i recommend you to learn flutter & it's biggest competitor aswell

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

    I keep getting this error flutter: Notification could not be sent: 404
    please help @CodingCafe

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

    Thanks a lot❤

  • @SatyamGupta-fs8bi
    @SatyamGupta-fs8bi 6 місяців тому

    can you tell me how to assign channel id after new update