No video

Firebase Push Notifications with HTTP V1 API in Flutter | REST API Tutorial

  Рет қаралды 5,487

CodeMender

CodeMender

Күн бұрын

Пікірлер: 37
@karlkiyotaka
@karlkiyotaka Күн бұрын
Wonderful. Thank you
@peeterhm
@peeterhm 6 күн бұрын
thank you soo much
@kyungsooswifeu8240
@kyungsooswifeu8240 2 ай бұрын
You're such a savior thank youuuu
@Alabfa
@Alabfa 2 ай бұрын
You are a life saver thank you so much
@radish121
@radish121 2 ай бұрын
dude, seriously, thank you so soo soooo much, can't figure this out for a couple of days now and almost gave up. literally a life saver
@CodeMender
@CodeMender 2 ай бұрын
Glad I could help!
@computerscience3905
@computerscience3905 2 ай бұрын
i am getting this error 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
@CodeMender
@CodeMender 2 ай бұрын
Check the grant values you are adding if you are not adding anything add exp anf iat for your token in the function for generation token
@user-vd6xi9bf3m
@user-vd6xi9bf3m 2 ай бұрын
Hey, Thank you soooo much, you saved my day:)
@CodeMender
@CodeMender 2 ай бұрын
You are welcome!
@samelobinna101
@samelobinna101 2 ай бұрын
thanks a lot you save my day (:
@ajinkyamandavkar973
@ajinkyamandavkar973 Ай бұрын
How does backend configuration for push notification to android & iOS flutter platform works. Does it uses simple curL calls. Then from where backend gets the fcm_token generated inside the app(android/iOS). If possible explain backend setup too.
@CodeMender
@CodeMender Ай бұрын
Each language has a different method or packages for that , you do not need to use the curl statement for your android and ios configuration if you are using a backend.
@godehiyane2091
@godehiyane2091 3 ай бұрын
thanks sir
@faheemahmad3957
@faheemahmad3957 3 ай бұрын
make a second part of it,, also use laravel backend to send etc
@CodeMender
@CodeMender 3 ай бұрын
Will work on it soon.
@MuhammadAhmedLashari-px8qh
@MuhammadAhmedLashari-px8qh 2 ай бұрын
i am getting the above two statements on terminal successfully but aren't receiving the notification on device screen. Can you please help me in that? I/flutter (29003): FCM message sent successfully D/FLTFireMsgReceiver(29003): broadcast received for message
@CodeMender
@CodeMender 2 ай бұрын
The firebase push notification is only shown for background notification for foreground notification you need to customize toast or alert.
@yagnikbarasiya8862
@yagnikbarasiya8862 3 ай бұрын
Why there is no video of sign in with apple in you channel you don't know how to do?
@CodeMender
@CodeMender 3 ай бұрын
kzfaq.info/get/bejne/f7eUoahh1q_cfp8.htmlsi=k-kFfjVGB79_h-R_
@hashWorld-0
@hashWorld-0 3 ай бұрын
plz do this in dio dio interceptors whats the difference?
@CodeMender
@CodeMender 2 ай бұрын
Ok
@Marketplace-fm8mg
@Marketplace-fm8mg 4 ай бұрын
where to get client_id and client_secret by using post man
@CodeMender
@CodeMender 4 ай бұрын
To obtain the client_id and client_secret: Navigate to the Google Cloud Console, access the service account section, and generate a key. The JSON file will contain the necessary client_id and client_secret. To get the bearer token in Postman follow these steps: 1. Utilize Google OAuth Playground to authorize API access by Entering your OAuth client ID and client secret (obtained from Google Cloud Console). 2. Specify your desired scopes for Firebase Cloud Messaging (FCM) by accessing this URL: www.googleapis.com/auth/firebase.messaging 3. Click on "Authorize APIs" and go through the authorization process. Exchange the authorization code for tokens. The access token serves as your Bearer token.
@istiakahmed3033
@istiakahmed3033 3 ай бұрын
You have not provided any link or ref of the code you copy pested. Sad!
@CodeMender
@CodeMender 2 ай бұрын
Check the description
@NostalgiaBeats-zo4ds
@NostalgiaBeats-zo4ds 3 ай бұрын
please give me a source code
@CodeMender
@CodeMender 2 ай бұрын
Added in the description
@amirhaider-gc9ww
@amirhaider-gc9ww 2 ай бұрын
Failed to send FCM message: 404
@CodeMender
@CodeMender Ай бұрын
Check your permissions once more
@shuaibalghazali3405
@shuaibalghazali3405 3 ай бұрын
Not so explanatory 😢😢
@CodeMender
@CodeMender 3 ай бұрын
I'm sorry to hear that! If you provide more context or clarify what you'd like to know about video comments, I'd be happy to help. 😊
@shuaibalghazali3405
@shuaibalghazali3405 3 ай бұрын
@@CodeMender how can I generate access token please, I already have my service key and json file
@CodeMender
@CodeMender 3 ай бұрын
Create Scopes for which you want to allow the authorization when using the access token. Create a client using your JSON file by HTTP package and use the googleapis package to get credentials by sending client, scopes and ServiceAccountCredentials from the json file. You will get accessToken in the credentials.
@shuaibalghazali3405
@shuaibalghazali3405 3 ай бұрын
@@CodeMender thanks
@keshavkaushlya8355
@keshavkaushlya8355 Ай бұрын
how can i contact you? i want to ask many things im working on a live project , and want to enable notifications but this access token expires , also i want to know how send notifications to multiple users and how to automate the regeneration of access token and send it to url ?? HELP ME PLEASE!!!!!!!!!!!!!!!!
@CodeMender
@CodeMender Ай бұрын
Its because it's a temporary token. If You are using a backend depend on that backend there are ways to create a token with an expiration date and time.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
📱Android Push Notifications • Flutter x Firebase Tutorial
12:39
Firebase Cloud Messaging API (V1) Flutter - Laravel
4:53
Abdallah Yassein
Рет қаралды 2,6 М.
OneSignal Notifications in Flutter Made Easy | Step-by-Step Tutorial
11:11
Push Notifications  Migrate from legacy FCM APIs to HTTP v1 with out server key Firebase | حل مشكلة
9:55
البرمجة بالملعقة | programming with a spoon
Рет қаралды 1,1 М.
REST API with Flutter | Step by step tutorial
11:10
CodeX
Рет қаралды 160 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН