No video

How to get Access Token in new Firebase Cloud Messaging V1 HTTP API | Flutter speed code | Part 1

  Рет қаралды 6,969

Coding with Mukund

Coding with Mukund

6 ай бұрын

In this Flutter speed code tutorial, learn how to seamlessly obtain an access token for the new Firebase Cloud Messaging (FCM) HTTP v1 API. With the transition to the v1 API, authentication now relies on OAuth 2.0 tokens, requiring a slightly different approach compared to the legacy API. Follow along as we demonstrate a simplified method to fetch the access token using the Google Auth library, tailored specifically for Flutter applications.
In this video, you'll discover:
- The significance of migrating to the Firebase Messaging V1 HTTP API.
- An overview of OAuth 2.0 tokens and their role in authenticating requests to the FCM API.
- Step-by-step implementation of a streamlined process to acquire an access token in Flutter.
- Best practices for securely integrating Firebase services into your Flutter project.
Whether you're a beginner or experienced Flutter developer, this tutorial provides valuable insights and practical techniques to seamlessly handle authentication and leverage the powerful capabilities of Firebase Cloud Messaging in your Flutter applications. Don't miss out on this essential skill for modern app development!
Watch now and elevate your Flutter app's messaging capabilities with Firebase Cloud Messaging V1 HTTP API. Don't forget to like, share, and subscribe for more Flutter tips, tricks, and tutorials!
If you have doubt contact me through
Mail ID: codingaigpt@gmail.com

Пікірлер: 77
@TheR3nE88
@TheR3nE88 4 ай бұрын
Finally! I was stuck for months... wonderful. thanks you!
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
Glad I could help! 😃
@lonerider9645
@lonerider9645 4 ай бұрын
TYSM! helped a lot, was stucked in it for so long!
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
Nice to know that I helped. Please share and subscribe ☺️
@shaztech620
@shaztech620 9 күн бұрын
wow you saved my time, great explanation, thanks alot
@coding_with_mukund
@coding_with_mukund 8 күн бұрын
Please share and subscribe.
@syedmuhammadnawazshah7687
@syedmuhammadnawazshah7687 Ай бұрын
Great work brother. Searched a lot for this and finally found your video ❤❤
@coding_with_mukund
@coding_with_mukund Ай бұрын
Glad it helped
@leonardoduarte2001
@leonardoduarte2001 4 ай бұрын
You just made a programming student a very happy one :) May Odin bless you \o
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
Your comment made me very happy. Thank you.
@shuaibalghazali3405
@shuaibalghazali3405 3 ай бұрын
Thanks a lot bro, you just got a subscriber this solved my mystery
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Thank you so much, please share with friends and family.
@CristianZarraga
@CristianZarraga 5 ай бұрын
Funciona de maravilla, continua con más videos!! Gracias!
@coding_with_mukund
@coding_with_mukund 5 ай бұрын
Thanks for your feedback and please share and subscribe
@user-dy2ge2wj6e
@user-dy2ge2wj6e 5 ай бұрын
Hermano, excelente! En serio, que funciona de maravilla!
@coding_with_mukund
@coding_with_mukund 5 ай бұрын
Thanks for your feedback and please share and subscribe
@hadicheayto2558
@hadicheayto2558 5 ай бұрын
thank you , you make my life easier
@coding_with_mukund
@coding_with_mukund 5 ай бұрын
Thank you, please share and subscribe.
@ayeshakayani8852
@ayeshakayani8852 Сағат бұрын
well it does show me my phone token but my project is assignment based of 2 screen 1 create assignment and 1 bid how can i send user notification abot someone bid on assignment.😵‍💫
@viveks.
@viveks. 3 ай бұрын
Thank you!
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
You're welcome! Please share and subscribe
@mafazkhan8996
@mafazkhan8996 5 ай бұрын
Wonderful tutorial staright to the point very helpful?
@coding_with_mukund
@coding_with_mukund 5 ай бұрын
Join here and DM me I'll provide the code t.me/coding_with_m
@mafazkhan8996
@mafazkhan8996 5 ай бұрын
Thank you so much, I fixed it. I was using the wrong package🥹
@1tv713
@1tv713 4 ай бұрын
thank so much
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
Happy to help 😍 Please share and subscribe
@kunaldhopavkar
@kunaldhopavkar 2 ай бұрын
Thanks a lot sir
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
So nice of you
@nattawutxp
@nattawutxp 5 ай бұрын
awesome
@coding_with_mukund
@coding_with_mukund 5 ай бұрын
Thank you for your precious feedback
@azulmouad4551
@azulmouad4551 2 ай бұрын
thanks man
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Happy to help
@KrishNamaste
@KrishNamaste 2 ай бұрын
hey, please upload part 2 + i am having some doubts about this. is there any way i can connect with you? great video!
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Contact me through codingaigpt@gmail.com
@arnonym1525
@arnonym1525 3 ай бұрын
Thanks a lot for the tutorial! How long will the access token be valid? Is there some method to test if it is still valid or do I just try to use and refresh if it throws an error?
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Access token will be valid for an hour. You must call getAccessToken() method directly where you use the Authorization key. If you have more doubts I can upload full video.
@Sarfrozkhan
@Sarfrozkhan Ай бұрын
any php code ?? i mean i want to send notification from php file to android application!!!
@furquanahmad846
@furquanahmad846 2 ай бұрын
nice video but please upload the next video or complete video i got stuck in between bro
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Ok I'll upload the complete video soon
@mohammedaziz8635
@mohammedaziz8635 2 ай бұрын
I got the token right, Thank you! Can you give guidance how to send FCM using http post request with the token in Flutter?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
I'll upload full videos soon
@mohammedaziz8635
@mohammedaziz8635 2 ай бұрын
@@coding_with_mukund Thanks, Please notify me when you do so
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@mohammedaziz8635 today I'll upload
@mohammedaziz8635
@mohammedaziz8635 2 ай бұрын
@@coding_with_mukund I think you did not upload yet, right?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@mohammedaziz8635 sorry I've been busy with work. Soon I'll upload
@Ayan-od8hk
@Ayan-od8hk 4 ай бұрын
Bro, I followed exactly but getting "Failed to exchange authorization code. Invalid server response."
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
Please send your code or error log to codingaigpt@gmail.com
@user-ny8hw3iw2s
@user-ny8hw3iw2s 2 ай бұрын
I'm getting the same error. Have you managed to fix the issue?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@user-ny8hw3iw2s contact me through codingaigpt@gmail.com
@iqaiserhussain
@iqaiserhussain 3 ай бұрын
Can we do similar call in postman?
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
You can generate an access token and use it in the postman to test. But remember you need to generate new tokens every hour as tokens refresh.
@iqaiserhussain
@iqaiserhussain 3 ай бұрын
@@coding_with_mukund is there any google Api available which can generate access token for me?
@casaurabhkhatri
@casaurabhkhatri 4 ай бұрын
I'm not using flutter. Just using android studio with java. How I do it?
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
You can make the REST API call in java similar to this. If you don't know how then I'll make a video of it.
@casaurabhkhatri
@casaurabhkhatri 4 ай бұрын
@coding_with_mukund Bro, you don't know how much people are searching for a solution. I will request you if you make a detailed video on - How to send device to device notifications in FCM HTTP V1.
@coding_with_mukund
@coding_with_mukund 4 ай бұрын
@@casaurabhkhatri sure I'll upload soon
@casaurabhkhatri
@casaurabhkhatri 4 ай бұрын
Thanks bro 🙏 🙌
@itsfantv2378
@itsfantv2378 2 ай бұрын
Is there part 2 for this, sir?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Yes, I'll upload the complete video soon.
@dinayousry8465
@dinayousry8465 3 ай бұрын
I get "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"
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Share your code to codingaigpt@gmail.com
@dinayousry8465
@dinayousry8465 3 ай бұрын
I used the same method you used, it worked once, and when I tried to use it again, it didn't work
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
@@dinayousry8465 it's because access token gets refreshed every hour you need to put credentials method in key value so it automatically gets access code. I'll upload part 2 soon.
@dinayousry8465
@dinayousry8465 3 ай бұрын
How can i do that
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
@@dinayousry8465 just call getaccesstoken () method where you put key while sending notification. Send your Fcm code to codingaigpt@gmail.com and I'll help you
@gildaschadrac6885
@gildaschadrac6885 3 ай бұрын
hello
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
How can I help you?
PLAYFI $PLAY GENESIS NODES SALE LAUNCH EARN REWARDS!
6:42
Dapp Centre
Рет қаралды 9 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 29 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 38 МЛН
Firebase Cloud Messaging API (v1) Tutorial
9:13
Native Notify
Рет қаралды 69 М.
Firebase Cloud Messaging API (V1) Flutter - Laravel
4:53
Abdallah Yassein
Рет қаралды 2,3 М.