Пікірлер
@karlkiyotaka
@karlkiyotaka Күн бұрын
Wonderful. Thank you
@peeterhm
@peeterhm 6 күн бұрын
thank you soo much
@cezaralves7670
@cezaralves7670 11 күн бұрын
Porque acelerar o video ?????
@CodeMender
@CodeMender 9 күн бұрын
Acelerar o vídeo permite que você veja o conteúdo mais rápido e foque nas partes principais sem perder muito tempo.
@jozimarhenriques6848
@jozimarhenriques6848 11 күн бұрын
Thank you very much for this quality content, straight to the point and easy to understand.
@jurgencampos8505
@jurgencampos8505 15 күн бұрын
HI man! Now the Firebase Cloud Messaging Legacy is deprecated, it would be great to have a tutorial from you, with the most updated way of do it.
@CodeMender
@CodeMender 14 күн бұрын
@jurgencampos8505 check this kzfaq.info/get/bejne/adeChbhqz5aViok.htmlsi=pMcpBfaeeHBoOr5s
@kiumars-x1q
@kiumars-x1q 23 күн бұрын
thank you so much
@user-dj9ud6vj3j
@user-dj9ud6vj3j Ай бұрын
for production eas build the env is not getting load
@CodeMender
@CodeMender Ай бұрын
Check the name of the env variable it should start with EXPO.
@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.
@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.
@nerdycuber
@nerdycuber Ай бұрын
Veru helpful
@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
@KevinFranco-yd5nt
@KevinFranco-yd5nt 2 ай бұрын
Thank you very much, now I understand why this video was recommended by Gemini
@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.
@samelobinna101
@samelobinna101 2 ай бұрын
thanks a lot you save my day (:
@amirhaider-gc9ww
@amirhaider-gc9ww 2 ай бұрын
Failed to send FCM message: 404
@CodeMender
@CodeMender Ай бұрын
Check your permissions once more
@kyungsooswifeu8240
@kyungsooswifeu8240 2 ай бұрын
You're such a savior thank youuuu
@chomanthapa
@chomanthapa 2 ай бұрын
Nice job, followed each step but my counter is not updating dynamically, for example if i increment nothing changes in the widget it actually take s around 10 -15 mins to update the widget why ?
@CodeMender
@CodeMender Ай бұрын
Check the time in the flutter you have for sending used.
@Alabfa
@Alabfa 2 ай бұрын
You are a life saver thank you so much <3
@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 <333333
@CodeMender
@CodeMender 2 ай бұрын
Glad I could help!
@user-vd6xi9bf3m
@user-vd6xi9bf3m 2 ай бұрын
Hey, Thank you soooo much, you saved my day:)
@CodeMender
@CodeMender 2 ай бұрын
You are welcome!
@ratannaik473
@ratannaik473 2 ай бұрын
Hey @CodeMender could you show how to eas build for ios device
@CodeMender
@CodeMender 2 ай бұрын
Sure
@NostalgiaBeats-zo4ds
@NostalgiaBeats-zo4ds 3 ай бұрын
please give me a source code
@CodeMender
@CodeMender 2 ай бұрын
Added in the description
@godehiyane2091
@godehiyane2091 3 ай бұрын
thanks sir
@hhaa4744
@hhaa4744 3 ай бұрын
Hi, I would like to send the message through a specific event in the realtime database instead of sending it manually using publish. How can I link between FCM and realtime database?
@CodeMender
@CodeMender 3 ай бұрын
Use firebase function in the backend with your realtime database
@istiakahmed3033
@istiakahmed3033 3 ай бұрын
You have not provided any link or ref of the code you copy pested. Sad!
@CodeMender
@CodeMender 2 ай бұрын
Check the description
@hashWorld-0
@hashWorld-0 3 ай бұрын
plz do this in dio dio interceptors whats the difference?
@CodeMender
@CodeMender 2 ай бұрын
Ok
@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
@AdhamFaisal875
@AdhamFaisal875 3 ай бұрын
please upload source code
@CodeMender
@CodeMender 3 ай бұрын
github.com/CodeMender1204/FlutterPushNotification
@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_
@jurgencampos8505
@jurgencampos8505 3 ай бұрын
Such a great tutorial! Thanks a lot!
@ashiashi7953
@ashiashi7953 3 ай бұрын
so these notifications are push is there any other notifications also? i think foreground background and kill mode ..is this notification is work on all these modes???
@CodeMender
@CodeMender 3 ай бұрын
Notification messages which arrive while the application is in the foreground will not display a visible notification by default, on both Android and iOS. It is, however, possible to override this behavior: On Android, you must create a "High Priority" notification channel. On iOS, you can update the presentation options for the application.
@hashWorld-0
@hashWorld-0 3 ай бұрын
thnakssssss alotttt do a tuotoral on dio interceptors with api and must foloow mvc architecture
@CodeMender
@CodeMender 3 ай бұрын
kzfaq.info/get/bejne/adeChbhqz5aViok.htmlsi=J41sKslJcYbrZFVs
@seggamulti1219
@seggamulti1219 3 ай бұрын
Also an example project no go bad
@seggamulti1219
@seggamulti1219 3 ай бұрын
I think this is a good video even though u didn't speak.however Is it a must I use android studio to make that widget? Can't vscode do it or can't u just share the code
@CodeMender
@CodeMender 3 ай бұрын
As this video is on native widgets , I have used android studio. VsCode Can do it for android but widget designing is easy with android studio.
@HalimHalim-xf7zo
@HalimHalim-xf7zo 3 ай бұрын
you are so fast and you don't explain well, you dont know how to explain to people
@CodeMender
@CodeMender 3 ай бұрын
I understand your concern. If you're finding my responses too quick, you can adjust the playback speed to 0.5x to follow along more comfortably.
@hashWorld-0
@hashWorld-0 3 ай бұрын
i have this error how to resolve this * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
@CodeMender
@CodeMender 3 ай бұрын
Check your build.gradle you seemed to have added two versions of kotlin.
@hashWorld-0
@hashWorld-0 3 ай бұрын
@@CodeMender i checked but it is not dublicated look buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.google.gms:google-services:4.3.8' // Add this line } } allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } tasks.register("clean", Delete) { delete rootProject.buildDir } buildscript { ext.kotlin_version = '1.5.0' // Change this to the version you're using in your Flutter project // Other configurations } this is my build.gradle
@hashWorld-0
@hashWorld-0 3 ай бұрын
@@CodeMender i added theese line in build.gradle and thi will resolve my issue i dont know what tha mean but it works subprojects { project.configurations.all { resolutionStrategy { force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" } } }
@CodeMender
@CodeMender 3 ай бұрын
You have two build scripts.Change the second one version to the same as kotlin version variable.
@faheemahmad3957
@faheemahmad3957 3 ай бұрын
make a second part of it,, also use laravel backend to send etc
@CodeMender
@CodeMender 3 ай бұрын
Will work on it soon.
@WebandMobileDevelopment-io5ex
@WebandMobileDevelopment-io5ex 4 ай бұрын
Thank You😘
@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.
@Velosi-uf2de
@Velosi-uf2de 4 ай бұрын
please share a code Thank you
@CodeMender
@CodeMender 4 ай бұрын
Added the Github repo link in description.
@WebandMobileDevelopment-io5ex
@WebandMobileDevelopment-io5ex 4 ай бұрын
@@CodeMender Thank You Dear
@bhaveshharne4069
@bhaveshharne4069 4 ай бұрын
how do I solve this error "Plugin with id 'com.google.gms.google-services' not found."..couldn't solve it..tried a lot..I am learning how to integrate firebase into react native but it is not coming off.Can you please make a video on how to integrate it successfully..Thankyou for listening..Would be grateful if you make a video..Thankyou
@CodeMender
@CodeMender 4 ай бұрын
You can use flutter clean and then flutter run command in terminal in root folder. It should solve your issue.
@namumakwembo
@namumakwembo 4 ай бұрын
How can i get the firebase_options.dart file ?, it was not created automatically in my case
@CodeMender
@CodeMender 4 ай бұрын
Try to reconfigure using the flutter fire command given in the steps in the firebase console. Also see if you are getting any warning when you activate the flutter fire cli using dart pub command.
@RafaelAlves-rh2fx
@RafaelAlves-rh2fx 4 ай бұрын
sad, I did everything like the video. the token arrives, the same terminal output, but when I send the notification it does not appear on the device... terminal: BUNDLE ./index.js LOG Running "PushNotification" with {"rootTag":11} LOG Authorization status 1 LOG FCM token ------------------------xxxxx------------xxxxx-------------- WARN Unverified navigationId undefined LOG A new FCM message arrived! {"collapseKey": "com.pushnotification", "data": {"navigationId": "settings"}, "from": "809794678973", "messageId": "0:1712907575137436%3188d5d23188d5d2", "notification": {"android": {"channelId": "hiii", "sound": "default"}, "body": "Firebase Push Notification", "title": "hi"}, "sentTime": 1712907544997, "ttl": 2419200}
@CodeMender
@CodeMender 4 ай бұрын
@RafaelAlves-rh2fx The Notification is coming correctly. As you can see the log A new FCM message arrived! {"collapseKey": "com.pushnotification", "data": {"navigationId": "settings"}, "from": "809794678973", "messageId": "0:1712907575137436%3188d5d23188d5d2", "notification": {"android": {"channelId": "hiii", "sound": "default"}, "body": "Firebase Push Notification", "title": "hi"}, "sentTime": 1712907544997, "ttl": 2419200} The problem is in the React native navigation function check if you are setting your navigationId in double or single quotes. If it is in single quotes change it to double quotes as in javascript it can be seen differently because the JSON data is in double quotes. Hope this helps!
@sncodext
@sncodext 4 ай бұрын
how to schedule notification using firebase messaging ? just like we manually configure the campain for scheduling notfication
@CodeMender
@CodeMender 4 ай бұрын
To schedule notifications using Firebase Cloud Messaging (FCM) for multiple devices, you typically need a server or backend system that sends notification requests to the FCM servers at the scheduled time. One approach is to utilize the subscribeToTopic("topic") function provided in the FCM documentation to manage multiple device subscriptions to a specific topic.
@sncodext
@sncodext 4 ай бұрын
@@CodeMender yeah i see about send notification thorough subscription but it will not scheduled the notification, as we like schedule the campaign
@CodeMender
@CodeMender 4 ай бұрын
Use firebase functions and pubsub.schedule method to schedule notification in your backend.
@kirito7335
@kirito7335 4 ай бұрын
Keep up the good work.
@kirito7335
@kirito7335 4 ай бұрын
Can u provide the source code
@CodeMender
@CodeMender 4 ай бұрын
Added the link in description
@CokyCokino
@CokyCokino 4 ай бұрын
Hi, are you planning to make same tutorials with Firebase & Expo 50 SDK?
@CodeMender
@CodeMender 4 ай бұрын
Yes, I'm planning to create tutorials covering the use of Firebase with the latest Expo 50 SDK.
@Jim-lw1jw
@Jim-lw1jw 4 ай бұрын
That was a really helpful video, thank you so much! Could you do the same step by step tutorial with an iOS simulator? I'm struggling with the configuration for iOS 😓
@CodeMender
@CodeMender 4 ай бұрын
Yes, soon
@Cappell7
@Cappell7 Ай бұрын
@@CodeMender Did you ever do a iOS video?
@zlackbiro
@zlackbiro 4 ай бұрын
Why legacy API when API v1 is better and easier to use?
@CodeMender
@CodeMender 4 ай бұрын
@blackzerosrb One reason I haven't migrated yet is that sending messages with the new API requires setting up OAuth authentication, and I'm planning to add OAuth integration to my project first before transitioning to the FCM API. I stuck with the legacy API initially due to familiarity, but I definitely plan to migrate to the FCM API after adding OAuth support to take full advantage of its improvements and ensure long-term support. Appreciate you bringing this up!
@CodeMender
@CodeMender 4 ай бұрын
kzfaq.info/get/bejne/adeChbhqz5aViok.htmlsi=2a3H4WUIoXN0J8t2
@2K22B16JosephKurianJohn
@2K22B16JosephKurianJohn 5 ай бұрын
helped me a lot , thank you
@CodeMender
@CodeMender 4 ай бұрын
Glad to hear that!