Пікірлер
@GameOfTiroPs3
@GameOfTiroPs3 6 күн бұрын
Where can I get the "Google credentials" class? To me it appears that this class does not exist.
@skat3_EveryD4y
@skat3_EveryD4y 6 күн бұрын
For me too
@coding_with_mukund
@coding_with_mukund 6 күн бұрын
Share the code and error to [email protected]
@coding_with_mukund
@coding_with_mukund 6 күн бұрын
Share the code and error to [email protected]
@coding_with_mukund
@coding_with_mukund 6 күн бұрын
You guys have not added dependency. So it's showing an error. add this dependency "implementation 'com.google.auth:google-auth-library-oauth2-http:1.23.0'
@laithalsahore3950
@laithalsahore3950 7 күн бұрын
thx
@coding_with_mukund
@coding_with_mukund 7 күн бұрын
Please share and subscribe
@z_verseau
@z_verseau 17 күн бұрын
An error occurred while accepting the terms of use. help me please
@coding_with_mukund
@coding_with_mukund 17 күн бұрын
Share your code to [email protected]
@gamingtomusic7700
@gamingtomusic7700 22 күн бұрын
I have a problem in device token TOO_MANY_REGISTRATIONS
@coding_with_mukund
@coding_with_mukund 22 күн бұрын
Share your code to [email protected] and I'll help you
@Sarfrozkhan
@Sarfrozkhan 25 күн бұрын
any php code ?? i mean i want to send notification from php file to android application!!!
@syedmuhammadnawazshah7687
@syedmuhammadnawazshah7687 28 күн бұрын
Great work brother. Searched a lot for this and finally found your video ❤❤
@coding_with_mukund
@coding_with_mukund 28 күн бұрын
Glad it helped
@rakshithsb3227
@rakshithsb3227 Ай бұрын
Is it possible to send notification between two apps? Client and Admin? Using same firebase project as well as same Android studio project.
@coding_with_mukund
@coding_with_mukund Ай бұрын
Yes using tokens and some loops you can send notification to your users using admin app.
@rakshithsb3227
@rakshithsb3227 Ай бұрын
​@@coding_with_mukund Tried with topics. Its receiving only message notification but not data notification.( MyfirebaseServices not receiving any notification but notification popping up).
@rakshithsb3227
@rakshithsb3227 Ай бұрын
​@@coding_with_mukund what do you mean by loops? I tried i couldn't find any solution. If possible share some information.
@coding_with_mukund
@coding_with_mukund Ай бұрын
@@rakshithsb3227 Method 1: While login you must get users token and store it in db and using for loop you can send notification to all those tokens. Method 2: Just register users for a topic and send notification to that topic. If you have more doubts I'll upload a video
@coding_with_mukund
@coding_with_mukund Ай бұрын
@@rakshithsb3227 share your code ill fix it. [email protected]
@kamyam1998
@kamyam1998 Ай бұрын
Your the man!!!!!!!!!
@coding_with_mukund
@coding_with_mukund Ай бұрын
Thanks 😊
@yoanarmany3544
@yoanarmany3544 Ай бұрын
Thank you. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@coding_with_mukund
@coding_with_mukund Ай бұрын
Please share and subscribe 🙏
@AliHamza-xq8ps
@AliHamza-xq8ps Ай бұрын
can you upload same tutorial notification for flutter like send notification from website and received notification in flutter mobile app i implement same thing through FCM but now firebase disable the server key
@coding_with_mukund
@coding_with_mukund Ай бұрын
I've uploaded a video to generate a server key in flutter and more parts will be uploaded soon.
@Flutter.dev_n
@Flutter.dev_n Ай бұрын
Thanks, helped a lot
@coding_with_mukund
@coding_with_mukund Ай бұрын
Glad to hear 😊 please share and subscribe.
@furquanahmad846
@furquanahmad846 Ай бұрын
nice video but please upload the next video or complete video i got stuck in between bro
@coding_with_mukund
@coding_with_mukund Ай бұрын
Ok I'll upload the complete video soon
@kunaldhopavkar
@kunaldhopavkar Ай бұрын
Thanks a lot sir
@coding_with_mukund
@coding_with_mukund Ай бұрын
So nice of you
@tahseenkhan4698
@tahseenkhan4698 Ай бұрын
Error getting access token for service account: java.security.cert.CertPathValidatorException i am facing this issue.
@coding_with_mukund
@coding_with_mukund Ай бұрын
Send your code to [email protected]
@tahseenkhan4698
@tahseenkhan4698 Ай бұрын
now issue is resolved, issue occurred when internet not working.🙂
@azulmouad4551
@azulmouad4551 Ай бұрын
thanks man
@coding_with_mukund
@coding_with_mukund Ай бұрын
Happy to help
@QaziSufiyan-nb1kl
@QaziSufiyan-nb1kl Ай бұрын
I have error my token is not being generated
@coding_with_mukund
@coding_with_mukund Ай бұрын
Send me the error to [email protected]
@QaziSufiyan-nb1kl
@QaziSufiyan-nb1kl Ай бұрын
@@coding_with_mukund got token successfully but there is volley client error i couldn't be able to resolve.. I'll send you the error screenshot in morning
@QaziSufiyan-nb1kl
@QaziSufiyan-nb1kl Ай бұрын
@@coding_with_mukund sent
@cherryt6853
@cherryt6853 Ай бұрын
Hi at android java application developer generating token using gcm Sdk and this token is registered using azure Notification library(backend dotnet) at fcmv1notificatindescriptio. Method. At azure portal notification hub I have registered the private key, client mail, etc of fire base details. So my question could we use the gcm sdk based generated device token at fcmv1registryndescription method at backend? Possible?
@KrishNamaste
@KrishNamaste Ай бұрын
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 Ай бұрын
Contact me through [email protected]
@Rohan_is_discovering
@Rohan_is_discovering Ай бұрын
Thanks a lot!!
@coding_with_mukund
@coding_with_mukund Ай бұрын
Please share and subscribe 😄
@itsfantv2378
@itsfantv2378 Ай бұрын
Is there part 2 for this, sir?
@coding_with_mukund
@coding_with_mukund Ай бұрын
Yes, I'll upload the complete video soon.
@mohammedaziz8635
@mohammedaziz8635 Ай бұрын
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 Ай бұрын
I'll upload full videos soon
@mohammedaziz8635
@mohammedaziz8635 Ай бұрын
@@coding_with_mukund Thanks, Please notify me when you do so
@coding_with_mukund
@coding_with_mukund Ай бұрын
@@mohammedaziz8635 today I'll upload
@mohammedaziz8635
@mohammedaziz8635 Ай бұрын
@@coding_with_mukund I think you did not upload yet, right?
@coding_with_mukund
@coding_with_mukund Ай бұрын
@@mohammedaziz8635 sorry I've been busy with work. Soon I'll upload
@Asonachannel
@Asonachannel Ай бұрын
can u share this code?
@coding_with_mukund
@coding_with_mukund Ай бұрын
Contact me through [email protected] and I'll share you the code
@user-or4ix2pq5w
@user-or4ix2pq5w Ай бұрын
i work in vs code how i can do this ??? or i should open the project in android studio!!!!!
@coding_with_mukund
@coding_with_mukund Ай бұрын
You can do it in any IDE
@yusufguler1795
@yusufguler1795 Ай бұрын
Hello brother , i liked the video , can u share source of project
@coding_with_mukund
@coding_with_mukund Ай бұрын
I'll share it soon
@yusufguler1795
@yusufguler1795 Ай бұрын
@@coding_with_mukund okey i'll be waiting
@volkancicek5117
@volkancicek5117 Ай бұрын
Thank you bro very helpful for me.
@volkancicek5117
@volkancicek5117 Ай бұрын
i fixed, if you needed code for this: private boolean isAppInForeground(Context context) { ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); List<ActivityManager.RunningAppProcessInfo> runningProcesses = activityManager.getRunningAppProcesses(); for (ActivityManager.RunningAppProcessInfo processInfo : runningProcesses) { if (processInfo.importance == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND && processInfo.processName.equals(context.getPackageName())) { return true; } } return false; } you check this in onMessageReceived method.
@coding_with_mukund
@coding_with_mukund Ай бұрын
Thank you 👍
@volkancicek5117
@volkancicek5117 Ай бұрын
<service android:name=".FCM.MessageService" android:exported="false" android:permission="TODO"> <intent-filter> <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> <action android:name="com.google.android.c2dm.intent.RECEIVE"/> <action android:name="com.google.firebase.MESSAGING_EVENT"/> </intent-filter> </service> you will thank me later.
@volkancicek5117
@volkancicek5117 Ай бұрын
<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="Notification"/>
@abhinavbishnoi6679
@abhinavbishnoi6679 Ай бұрын
Can you please make video or help on ios as well to get token for postman firebase push
@coding_with_mukund
@coding_with_mukund Ай бұрын
Soon I will upload
@abinjohn8568
@abinjohn8568 2 ай бұрын
So Nice it was a good video Bro... Can you pls do for also flutter web
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Thank you 😊, soon I'll upload for web
@gildaschadrac6885
@gildaschadrac6885 2 ай бұрын
hello
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
How can I help you?
@verybest
@verybest 2 ай бұрын
You are the genius! Thanks for the video and it worked very well.
@dagumaileen1429
@dagumaileen1429 2 ай бұрын
hi can you help me?idont understand in part in dashboardactivity.java i think i have missing parts like the promptlayout and dialogprompt
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
In the dashboard I just implement code to send notification, which can be used anywhere you want to send notification.
@dagumaileen1429
@dagumaileen1429 2 ай бұрын
@@coding_with_mukund can you help me? it i didnt see the token even i followed your step precisely
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@dagumaileen1429 share your code to [email protected]
@dagumaileen1429
@dagumaileen1429 2 ай бұрын
@@coding_with_mukund i already send it ty
@DailyStatusEarnMoney
@DailyStatusEarnMoney 2 ай бұрын
If you build again then new token will generate. Why not the same every time?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
For security purposes, firebase made this like it refreshes tokens every time and every hour. So if tokens get compromised then it will get expired automatically after an hour.
@DailyStatusEarnMoney
@DailyStatusEarnMoney 2 ай бұрын
@@coding_with_mukund How can we use it in PHP API if it is expiring every hour?
@chandpreet
@chandpreet 18 күн бұрын
​@@DailyStatusEarnMoneyhaving same query...have you got any solution?
@shuaibalghazali3405
@shuaibalghazali3405 2 ай бұрын
Thanks a lot bro, you just got a subscriber this solved my mystery
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Thank you so much, please share with friends and family.
@utkarshbhatnagar9333
@utkarshbhatnagar9333 2 ай бұрын
Thank you for your video. Is there way to send a prompt with text?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
Yeah just add your prompt before text like, example: "You are a mathematician bot. User message: 'here add text field' "
@utkarshbhatnagar9333
@utkarshbhatnagar9333 2 ай бұрын
@@coding_with_mukund thank you. Also is there any way to encrypt the key or add rate limiter to protect from being exploited
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@utkarshbhatnagar9333 Use encrypt package and do AES encryption
@huso5279
@huso5279 2 ай бұрын
i did it like you, but my phone is still verified as an invalid device which means i have no access to firebase, (permission denied) do you know the solution? im trying debug mode on a physical device
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
You need to set as debug at initialisation of firebase appcheck and in Log you will get debug token and you need to paste it in firebase console in app check -> apps-> manage debug tokens
@huso5279
@huso5279 2 ай бұрын
@@coding_with_mukund i did It and i expected a debug Token but it didnt show Off in the console
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@huso5279 share your code to [email protected]
@huso5279
@huso5279 2 ай бұрын
@@coding_with_mukund thank you for the offer, i Just went Out so i ll do it as soon as im Home(after Like 8 hours) but which Code exactly? Eversthing specific for App Check? So Mai Activity, Main.dart and gradle?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@huso5279 Ya share all code related code
@huso5279
@huso5279 2 ай бұрын
You alreayd did a video about this, IS this also necessary or like an Update?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
I didn't understand you, can you tell me how I can help you
@huso5279
@huso5279 2 ай бұрын
@@coding_with_mukund is there a Chance to MSG you? Via Instagram? I t would ve very nice
@huso5279
@huso5279 2 ай бұрын
You already have a Video about App Check , so why have Recorded another video
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@huso5279 I have only two videos about app check and one is Java and another is flutter
@viveks.
@viveks. 2 ай бұрын
Thank you!
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
You're welcome! Please share and subscribe
@iqaiserhussain
@iqaiserhussain 2 ай бұрын
Can we do similar call in postman?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
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 2 ай бұрын
@@coding_with_mukund is there any google Api available which can generate access token for me?
@arnonym1525
@arnonym1525 2 ай бұрын
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 2 ай бұрын
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.
@adhycanno1681
@adhycanno1681 2 ай бұрын
next video please ...
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
I have uploaded all 3 parts. Check out my channel
@mozesalex-andrei981
@mozesalex-andrei981 2 ай бұрын
Can I use these classes for in-app messaging ?
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
What do you mean?
@mozesalex-andrei981
@mozesalex-andrei981 2 ай бұрын
@@coding_with_mukund I have an application with 2 types of users: client and driver. In the client's activity I have a button that when pressed I want to send a message to the driver's activity (like a notification but inside the application, not outside)
@mozesalex-andrei981
@mozesalex-andrei981 2 ай бұрын
Cloud Messaging is 2 types: notification and in-app message.
@coding_with_mukund
@coding_with_mukund 2 ай бұрын
@@mozesalex-andrei981 yes, firebase.google.com/docs/in-app-messaging/get-started?platform=android use this link and add dependency
@abcabc2683
@abcabc2683 2 ай бұрын
Sir please share source code I have to submit project in 3 days , and I can't fetch access token pls sir help, please please 🙏🙏🙏
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
Thank you, my friend! I didnt understand why i need AccessToken class.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Access token is the main key for authorisation. Without an access token you cannot send notification.
@mozesalex-andrei981
@mozesalex-andrei981 2 ай бұрын
@@coding_with_mukund i saw now :))) TY
@anshumandhal
@anshumandhal 3 ай бұрын
Do I need to add the token as attestation in every network call I make through Retrofit ?
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Yes
@anshumandhal
@anshumandhal 3 ай бұрын
@@coding_with_mukund how do I do that ? I want to attach the firebase app check token to add to my retrofit network call header.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Can you explain your use case
@anshumandhal
@anshumandhal 3 ай бұрын
@@coding_with_mukund I have a chat app, in which I want every single message sent to have an attestation which the server can validate. My backend server is in ktor. Without attestation, the server will send a 4xx
@anshumandhal
@anshumandhal 3 ай бұрын
@@coding_with_mukund Yes, I have a chat app where every single message sent through retrofit needs to have an attestation attached so that the ktor backend can validate it through play integrity on Android side and I want to use Firebase app check to attach the attestation token.
@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 [email protected]
@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 [email protected] and I'll help you
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
I cant understand what is not working. I wait the next video.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
What happened? Can you send me log
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
@@coding_with_mukund I'm out of town until Sunday. I will send you after I try again on Sunday.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
@@mozesalex-andrei981 sure. And also share your code I'll look into it.
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
@@coding_with_mukund I have not the laptop with me.
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
Please continue the tutorial. I need your help. I will donate you 10 dollars.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Sure I'll upload a migration video soon
@mozesalex-andrei981
@mozesalex-andrei981 3 ай бұрын
@@coding_with_mukund Ty bro, if you have a patreon or another method of donation please place it.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
I don't have a patreon, so please share my channel and subscribe.
@casaurabhkhatri
@casaurabhkhatri 3 ай бұрын
Hi Brother, can you make a video on how to setup pagination to retrieve firestore data in recyclerview using java. The more records to be fetched only when user scroll down.
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Sure, I'll upload as soon as I'm free
@casaurabhkhatri
@casaurabhkhatri 3 ай бұрын
@@coding_with_mukund Thanks bro!!
@Ayan-od8hk
@Ayan-od8hk 3 ай бұрын
Bro, I followed exactly but getting "Failed to exchange authorization code. Invalid server response."
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
Please send your code or error log to [email protected]
@user-ny8hw3iw2s
@user-ny8hw3iw2s Ай бұрын
I'm getting the same error. Have you managed to fix the issue?
@coding_with_mukund
@coding_with_mukund Ай бұрын
@@user-ny8hw3iw2s contact me through [email protected]
@hyper-stack
@hyper-stack 3 ай бұрын
How to read the serrvice-account json file instead of pasting directly like this?
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
You can store the file in local or in cloud storage and access it in code and convert it to json
@hyper-stack
@hyper-stack 3 ай бұрын
@@coding_with_mukund I save the file in my app directory (same directory as the google-services.json), but wehn I try to read it using FileInputStream("service-account.json") like this, I always get the error for file not found. How can I get the path to the file in my app dir. Thank you!
@inha-qu7rw
@inha-qu7rw 3 ай бұрын
@@coding_with_mukund can you please explain how to do it securely? in docs they say that all FCM's sendings should be from trusted server.. Thanks!
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
@@inha-qu7rw in next video I'll show how to securely store json file.
@inha-qu7rw
@inha-qu7rw 3 ай бұрын
​@@coding_with_mukund Thanks!! It will be also useful if we could access the code from github or somewhere else
@sukronjazila8534
@sukronjazila8534 3 ай бұрын
How i can send FCM messaging from postman using FCM http V1. I'm so confuse about the key authorization. Is there anybody can help me
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
I'll upload new video soon of complete implementation
@sukronjazila8534
@sukronjazila8534 3 ай бұрын
​@@coding_with_mukundthank you very much. Your video is so helpful. I follow your video to get authorizarion key and paste it to postman. But if there is another solution dont forget to share it and i'm waiting for it
@sukronjazila8534
@sukronjazila8534 3 ай бұрын
​@@coding_with_mukundbtw is there any solution to keep the authorization key keep the same all the time? If i want this solution what should i do
@coding_with_mukund
@coding_with_mukund 3 ай бұрын
@@sukronjazila8534 no you cannot keep them same, as they get refreshed every hour, which is so useful in securing your keys. They made it this way to keep your data safe.