How to Migrate from Legacy FCM APIs to HTTP v1 | Step-by-Step Guide 🔥🔥🚀

  Рет қаралды 9,901

Tech_Lang_Tutorials

Tech_Lang_Tutorials

Күн бұрын

Пікірлер: 42
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
For more info related code visit 👇👇👇 stackoverflow.com/questions/78144233/firebase-cloud-messaging-api-http-v1-migration/78575180#78575180
@parthkhatsuriya8442
@parthkhatsuriya8442 2 ай бұрын
It works. Thank you for all clarification.
@AkashSingh-pc1rw
@AkashSingh-pc1rw Ай бұрын
Could you please help me, how to write initFirebaseTokenListener(){}
@AkashSingh-pc1rw
@AkashSingh-pc1rw Ай бұрын
Could you please help me, how to write initFirebaseTokenListener(){}
@tech_lang_tutorials
@tech_lang_tutorials Ай бұрын
by using fcm dependency and their predefined method for token generation. Dependency ke liye implementation 'com.google.firebase:firebase-messaging:23.2.0' plugins me apply plugin: 'com.google.gms.google-services' then in activity/fragment FirebaseMessaging.getinstance.token.addOnSuccessListener{ //here it is token if(it!=null) val token =it }
@ajaychaudhary358
@ajaychaudhary358 2 ай бұрын
thanks for the information. Actually i'm checking for the iOS platform, can you please help me in this.
@harshitshakya2513
@harshitshakya2513 Ай бұрын
May I know the time duration of this token. Is we need to generate this fcm token everytime. When we hit push notification. Or we can store this token and hit again whenever this expires ? Please reply thanks🙏
@tech_lang_tutorials
@tech_lang_tutorials 23 күн бұрын
As its oauth token its generally expires ins 2-3 hours.
@rogercolque
@rogercolque 2 ай бұрын
hi, friend, good video How often should I generate the access token again?
@bakchod-v-logger
@bakchod-v-logger 2 ай бұрын
Every 1-2 hour , you have to generate new oath token or you can use everytime new token with calling again n again oatch generating function .
@rogercolque
@rogercolque 2 ай бұрын
@@bakchod-v-logger thank u seems before FCM was Firebase(Portal) + Device(Mobile) Now this update need a strategy for token Firebase(Portal) + (Backend Api) + Device(Mobile)
@SatyamGupta-fs8bi
@SatyamGupta-fs8bi 5 ай бұрын
can you tell me how to assign channel id after new update
@smiley2454
@smiley2454 2 ай бұрын
Ek Baar Generate kiya hua token kitne time tak kaam karta he
@tech_lang_tutorials
@tech_lang_tutorials 2 ай бұрын
1-2 hour
@user-vb6mc3gd7k
@user-vb6mc3gd7k 6 ай бұрын
hello bro, want to ask at minute 1:46 what application do you use?
@tech_lang_tutorials
@tech_lang_tutorials 6 ай бұрын
Its postman software.
@user-vb6mc3gd7k
@user-vb6mc3gd7k 5 ай бұрын
Thanks bro
@SatyamGupta-fs8bi
@SatyamGupta-fs8bi 5 ай бұрын
can you tell me how to use this one in flutter
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
I'll upload soon for flutter.
@myheart4355
@myheart4355 3 ай бұрын
How can I trigger notifications with multiple tokens in single request? Is it possible to do this with FCM APIs using HTTP v1? If so, could you please explain how it can be done?
@tech_lang_tutorials
@tech_lang_tutorials 3 ай бұрын
you can pass array of multiple tokens in token key it will send to all devices if it doesnt work. you can send in a loop by iterating one by one token.
@pradnyamawal1000
@pradnyamawal1000 5 ай бұрын
Hello Could you please help me with token generation? I'm stuck.
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
Fcm token ? Or oAuthtoken?
@pradnyamawal1000
@pradnyamawal1000 5 ай бұрын
@@tech_lang_tutorials fan token
@PiOntime
@PiOntime 5 ай бұрын
@@tech_lang_tutorials hello sir FCM generator sir, this is what i want also sir
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
For oauth token follow video steps. And for firebase token follow firebase docs
@viveksharma-cf6ts
@viveksharma-cf6ts 5 ай бұрын
can you please share the github repository link
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
Yeah sure.. Here it is.. github.com/Roshanthecoder/Push_Notification_Migrate_to_HttpV1
@gullhassan4651
@gullhassan4651 5 ай бұрын
is this working in flutter ?
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
I'll upload soon for flutter.
@PletraTech
@PletraTech 5 ай бұрын
can this code work in react native firebase , with no backend service . I did every thing to generate barer token but not getting any solution in react native , am using rest api to send notifications ,but for that need this barer key . can you help me.
@bakchod-v-logger
@bakchod-v-logger 4 ай бұрын
Ya , if react allow google auth library into your code. You can copy code and also change in react with the help of chatgpt 👍
@jhancarlosilvaochoa5720
@jhancarlosilvaochoa5720 3 ай бұрын
Thanks, correctly all
@lutfiseptian2147
@lutfiseptian2147 3 ай бұрын
i can't find server key in firebase can you tell solusion for me? thanks before
@bakchod-v-logger
@bakchod-v-logger 3 ай бұрын
This video is alrrady for bypaas the server key . Please watch full video
@nasirjaura2547
@nasirjaura2547 3 ай бұрын
I you can share source files?
@tech_lang_tutorials
@tech_lang_tutorials 3 ай бұрын
Yeah sure.. Here it is.. github.com/Roshanthecoder/Push_Notification_Migrate_to_HttpV1
@testinfoicon5250
@testinfoicon5250 2 ай бұрын
Ye sab to thik h EPC staffing se ye code gayab kiu kiya 😂 Regards Sikander
@tech_lang_tutorials
@tech_lang_tutorials 2 ай бұрын
already utils package me hoga object ya kotlin class me 😂😂
@bbbilal
@bbbilal 3 ай бұрын
00:21
@SatyamGupta-fs8bi
@SatyamGupta-fs8bi 5 ай бұрын
can you tell me how to assign channel id after new update
@tech_lang_tutorials
@tech_lang_tutorials 5 ай бұрын
channel id for what ? push notification?
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 321 М.
إرسال الإشعارات عن طريق_ Firebase Cloud Messaging API v1 في تطبيق Flutter
5:44
Eng. Ahmed AL-Khulidi | أحمد الخليدي
Рет қаралды 2,1 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 235 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 102 М.
System Design Interview Walkthrough: Design Twitter
23:04
Hello Interview - SWE Interview Preparation
Рет қаралды 72 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН