Firebase Phone Authentication Android - Firebase OTP Verification Android - Firebase Authentication

Поділитися
Вставка

КОМЕНТАРІ • 351

  • @CodingwithT
    @CodingwithT  3 роки тому +2

    For App Development:
    Whatsapp: wa.me/+923060000606​
    Instagram: instagram.com/coding_with...​
    Twitter: twitter.com/coding_with_tea/​
    Facebook: facebook.com/codingwithtea/​
    Email: developer@taimoorsikander.com

    • @cullenalfonso609
      @cullenalfonso609 3 роки тому

      sorry to be offtopic but does someone know of a tool to get back into an Instagram account?
      I somehow forgot the password. I would love any tips you can give me!

    • @jonsnow9758
      @jonsnow9758 3 роки тому +1

      github link??

    • @CodingwithT
      @CodingwithT  3 роки тому

      It's a link to my website taimoorsikander.com and you can get code over there

  • @manishmg3994
    @manishmg3994 2 роки тому +1

    Please help me out,in my firebase phone auth project it shows an error while registing new user it says 'missing-client-identifier'

  • @jeremydaniellegerardtorre2468
    @jeremydaniellegerardtorre2468 4 роки тому +2

    You're BREATHTAKING BRO!!! Keep it up!

  • @shehryaramin1481
    @shehryaramin1481 4 роки тому

    Bro Big Love and Respect...It worked for first time without any error.

  • @ratnapriya6106
    @ratnapriya6106 4 роки тому +2

    Your video really help me alot.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      I'm glad you like it. Thank you

  • @Oalone
    @Oalone 4 роки тому +1

    It works, thank you very much!

  • @splashgamer2058
    @splashgamer2058 3 роки тому +1

    Sir I made an Phone verification system by seeing your viedo but it didn't work , User is not getting OTP and on OTP failed listener is working neither the other one ! please Guide me !

    • @CodingwithT
      @CodingwithT  3 роки тому

      I'm sorry to hear about your problem but no worries,
      Checkout my new video on OTP step by step and hopefully your problem will be resolved.
      ua-cam.com/video/lk4du-8giyQ/v-deo.html

    • @splashgamer2058
      @splashgamer2058 3 роки тому

      @@CodingwithT
      Sir I am receiving this type of error
      "The request is missing a valid app identifier , meaning the neither Safety net checks nor reCAPTCHA checked succeeded . Please try again , or check the logcat for more details ."
      How to solve this error sir

  • @CryptoWizz
    @CryptoWizz 4 роки тому

    Hi, Thanks for the tutorial. Can we implement this as many app uses now. First only accept mobile number and verify top now if the user is first time user show him profile creation form and accept other details such as first name, last Name, email etc and update it in Firestone. and if the user login for second time show him main page. for phone authentication, we don't need to set password. and we can also add 2 buttons below for google and facebook authentication. can you create this tutorial or guide me on this. Thanks.

  • @santoshinchalakaranje4010
    @santoshinchalakaranje4010 4 роки тому

    I am getting the error
    This app is not authorised to use firebase authentication.please varify that the correct package name and SHA -1 are configured in the firebase console.[app validation failed]

  • @dogucan8824
    @dogucan8824 4 роки тому +2

    Hello Taimoor, in this tutorial I have come across with this error: "This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase console. App validation failed. Is app running on a physical device?" Quick note that I have enabled phone authorization in firebase console. My app is connected to the firebase from the android studio all the dependencies are added. I would very much appreciate if you could help.Thanks.

    • @Shafaqnaz_19
      @Shafaqnaz_19 4 роки тому +1

      Exactly

    • @Shafaqnaz_19
      @Shafaqnaz_19 4 роки тому +1

      Our app is yet not on Google play console for SHA Keys so what else we can do

    • @CodingwithT
      @CodingwithT  4 роки тому

      Is it on playstore?

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Check it out stackoverflow.com/questions/46751766/this-app-is-not-authorized-to-use-firebase-authentication-please-verify-that-the

    • @dogucan8824
      @dogucan8824 4 роки тому

      @@CodingwithT Thank you so much. This did the trick!

  • @amareghn6613
    @amareghn6613 4 роки тому +1

    Hi, there is no errors in my code. but when I run it on real device, otp is not sent. In shows an error
    "This app is not authorized to to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase console. [app validation failed]"
    I checked package name and SHA-1 keys and they are correct.
    Please help!!!!

    • @CodingwithT
      @CodingwithT  4 роки тому

      It's because you have not setup the Firebase with your project properly! Please reconnect and go to the authentications in Firebase and enable phone auth...

    • @CodingwithT
      @CodingwithT  4 роки тому

      Check it out stackoverflow.com/questions/46751766/this-app-is-not-authorized-to-use-firebase-authentication-please-verify-that-the

  • @khaled-fitnessdz6519
    @khaled-fitnessdz6519 4 роки тому +2

    You're unbelievable.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Thank you so much. Share it with your company if possible.

    • @yasark6347
      @yasark6347 4 роки тому +1

      @@CodingwithT how to check the user is already authenticated his phone

    • @CodingwithT
      @CodingwithT  4 роки тому

      @@yasark6347 yoy can simply check the phone no of that user. If the number exist then simply generate the error message.
      You can check the code in my login user video or in the Fetch Users data

    • @yasark6347
      @yasark6347 4 роки тому +1

      Can u share the link

    • @yasark6347
      @yasark6347 4 роки тому +1

      @@CodingwithT Thanks for your reply

  • @269_sakkeerhusainkk7
    @269_sakkeerhusainkk7 3 роки тому

    Bro I have shown the error format of phone no is incorrect.

  • @samatzhussipov1139
    @samatzhussipov1139 4 роки тому +1

    the request contains malformed or mismatching credentials app id does not match requested project. i see this toast?

    • @CodingwithT
      @CodingwithT  4 роки тому

      Recheck the connectivity and make sure that Phone Number is enabled in Firebase auth section

  • @anutnaky1622
    @anutnaky1622 4 роки тому

    this app is not autorized to use firebase authentication.please verify that the correct package name and SHA-1 are configured in the firebase console ... me sale este error please ayuda

  • @RahulPawar-ok3nc
    @RahulPawar-ok3nc 4 роки тому +1

    Bro It is throwing an exception that the app is not authorized to use Firebase Authentication, Please verify ... SHA1 Key

    • @CodingwithT
      @CodingwithT  4 роки тому

      Please reconnect it with firebase and add proper SHA-1

  • @yahyalife3539
    @yahyalife3539 4 роки тому +1

    at 14:31 if the code is null as in instant verification condition ... than will the if statement work...

  • @JPK11598
    @JPK11598 4 роки тому +1

    Hello sir please help, I followed all your steps but when i click the register button it's going on the login page. And also the error is The application may be doing too much work on its main thread.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Maybe you're initiating the wrong intent, check the code thoroughly or buy the cheapest code from website
      Thanks

    • @JPK11598
      @JPK11598 4 роки тому +1

      @@CodingwithT okay sir thankyou

  • @ashrafmakandar3370
    @ashrafmakandar3370 4 роки тому +1

    hi please make a video on mvvm login amd register with retrofit or firebase

    • @CodingwithT
      @CodingwithT  4 роки тому

      Thank you for your suggestion and I'll try my best to make a video on it. You can also implement it in that.

  • @forrukhahmedmaroof934
    @forrukhahmedmaroof934 3 роки тому +1

    How remove RECAPTURE from phone auth ??? Please help me

    • @CodingwithT
      @CodingwithT  3 роки тому +1

      What do you mean?

    • @forrukhahmedmaroof934
      @forrukhahmedmaroof934 3 роки тому

      @@CodingwithT when i go on otp activity, than automatically open browser and google capture show, than i complate google chapter (roobot verify) than verification code sent and come to my phone.
      So i want to know how can i remove google roobot verification from my app

    • @forrukhahmedmaroof934
      @forrukhahmedmaroof934 3 роки тому

      Next problem otp not get automatically on pinview,, i make this app watching your citygird application

  • @abhishektripathi8974
    @abhishektripathi8974 3 роки тому +1

    How to get the phone number for which i will test this on emulator?

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

  • @RahulPawar-ok3nc
    @RahulPawar-ok3nc 4 роки тому +1

    why are you not switching to kotlin

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      As I've started this so first I have to complete this series

    • @RahulPawar-ok3nc
      @RahulPawar-ok3nc 4 роки тому

      @@CodingwithT Great work, by the way!!, Also I was testing my app and it worked fine, otp came log in happened, but after that firebase don't send otp to already verified number, I deleted the number from firebase but still, it sends null in onVerificationCompleted method, so I can't test it more!!

  • @divyangkanani5497
    @divyangkanani5497 4 роки тому +1

    It showing please valid format Mobile number

    • @CodingwithT
      @CodingwithT  4 роки тому

      mobile format should be + country code and phone number without spaces

    • @divyangkanani5497
      @divyangkanani5497 4 роки тому

      Same to same copy your code in this
      I write "+91"

  • @vishnusharda
    @vishnusharda 4 роки тому +2

    Sir in my android studio phone authentication dependancy not working please help me🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 I am not able to user authenticate with phone so............ Please🙏

    • @CodingwithT
      @CodingwithT  4 роки тому

      I'm going to create a new video on it by tonight!

    • @vishnusharda
      @vishnusharda 4 роки тому +2

      @@CodingwithT Thanks sir for replying and understand my problem 😍😍

    • @CodingwithT
      @CodingwithT  4 роки тому

      Not a problem 😊

  • @bilalcharefa9462
    @bilalcharefa9462 3 роки тому +1

    i dont know why when i use on my devise it work perfectly but when i use the emulator before sending the sms it open browser and (verifying if i'm not a robot) after that only he send the sms with the code

    • @CodingwithT
      @CodingwithT  3 роки тому

      Because Google confirms any new device

  • @sayemmahmud9535
    @sayemmahmud9535 4 роки тому +1

    Brother from Bangladesh it's showing an error to follow the E. 164 format & the number is provided is incorrect .How to solve it !

  • @nachetons
    @nachetons 4 роки тому +2

    Hello good sir, thanks for the help it works well for me. The problem is that on my physical phone he sends me the sms with the code and everything is authenticated alone and everything but the problem is that when my friends try to start with this, they register them in the application but without sms I debugged the application and it comes out that they get the null credentials instead when debugging mine it generates the credentials well something similar happened to me in google it only worked for me and I had to put in the project the key file and in the bundle associate it with a relative path After the start of Google, would you know how to help me?

    • @CodingwithT
      @CodingwithT  4 роки тому

      Well it's strange that your code is running on one device but not on another right?

  • @LJBDhaliwal
    @LJBDhaliwal 2 роки тому +1

    User logout Id and user again login using phone number with OTP how that it's possible.everytime user login OTP

    • @CodingwithT
      @CodingwithT  2 роки тому

      Please check the City Guide app playlist and you'll get your answer. In that I use Shared preference and don't need OTP again and again

    • @LJBDhaliwal
      @LJBDhaliwal 2 роки тому

      @@CodingwithT I mean I logout my userid then I again login app using OTP

  • @AnjaliSingh-dr4mn
    @AnjaliSingh-dr4mn 2 роки тому +2

    can u give verify_phone_no.xml design's code please!!🙏🙏

    • @CodingwithT
      @CodingwithT  2 роки тому +1

      hi anjali, it's already given in the link provided in the description.

  • @ssquotes2423
    @ssquotes2423 4 роки тому +1

    Everything is running without error. But I am not receiving code to my mobile number. As of now I am using AVD. but how to get code to my mobile.?

    • @CodingwithT
      @CodingwithT  4 роки тому

      You'll get the code to the any phone number you provided! So I suggest you to please watch my new video on OTP for City guide app!

    • @ssquotes2423
      @ssquotes2423 4 роки тому

      ​@@CodingwithT
      I tried this method but still I am not receiving code automatically in AVD emulator. and I have whitelisted the test mobile numbers and also code for them. what is going wrong? account is creating only when I entered the code manually.

  • @supriyayadav9464
    @supriyayadav9464 2 роки тому +1

    Hello sir,I had problem with phone auth activity.can you help me with that? It will be very appreciated,you will help me.please.

    • @CodingwithT
      @CodingwithT  2 роки тому

      Yes, i suggest you to please watch my latest video on phone auth in City Guide App tutorials

    • @supriyayadav9464
      @supriyayadav9464 2 роки тому +1

      @@CodingwithT ok sir, thanks

    • @CodingwithT
      @CodingwithT  2 роки тому

      U welcome

  • @31_nmarun71
    @31_nmarun71 4 роки тому +2

    I am follow the video till the end.but i have problem first exicution otp is arrived but the seconde time the msg is nott arrived why? please help

    • @CodingwithT
      @CodingwithT  4 роки тому

      Try to delete that number from authentication section from Database

    • @31_nmarun71
      @31_nmarun71 4 роки тому

      @@CodingwithT I am deleted that number.but it is not solved

    • @31_nmarun71
      @31_nmarun71 4 роки тому

      now code have no errors but can"t recive otp please help

    • @31_nmarun71
      @31_nmarun71 4 роки тому

      E/FirebaseInstanceId: Topic sync or token retrieval failed on hard failure exceptions: INVALID_SENDER. Won't retry the operation. this is seen in run what is this error

    • @unknown-p-w
      @unknown-p-w 4 роки тому

      Have a same problem too..

  • @SAGskills
    @SAGskills 4 роки тому

    Meri apps Android well conected hai to firebse or authentic also connected well
    Email pass is enable in firebse
    Al java coding is ok even green tick on coding means sab ok hai
    Validation bhi ok
    Intent bhi ok
    But jab user name or email password dalne k bad register button par click krte hai to kuch bhi nahi hots na to dusri activity parr jump hota or na hi database me data show hora hai. Koi error bhi show ni hora kyuki green tick hai java coding par application run bhi sahi se hori hai
    But kuch operation nahi hora submit button k bad
    Kaha problem hai please tell???

  • @ronmitra_348
    @ronmitra_348 3 роки тому

    Hi! So my authentication isn't working. My app is working fine but when it goes to the authentication page, it exits from the same . Please help!

  • @moodbusters2.032
    @moodbusters2.032 4 роки тому +1

    Video is good.
    Bro, can you make a tutorial video on how to make step tracking app using Google Fit api ???

  • @jitendraprajapatt
    @jitendraprajapatt 3 роки тому

    some problem in my app
    My APP closed when I click on sending otp button.
    which type of issue?
    all code in no error found.

  • @eslamgad3723
    @eslamgad3723 4 роки тому +1

    That's awesome bro, please tell me how to make reset password by phone

  • @ArunKumar-sy7ze
    @ArunKumar-sy7ze 4 роки тому +1

    Suppose I have made this function in my app so where I will get all information filled by the user. For example- users phone number, name etc.

  • @ixsh8137
    @ixsh8137 3 роки тому +1

    sir, i did my app same the your code but i get the error missing a valid app identifier , meaning that neither safetyNet nor reCAPTCHA checks succeeded. plz can you help me how I can solve?

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

  • @viveksaini2753
    @viveksaini2753 6 місяців тому

    This app is not authorized to use Firebase Authentication. Please verify that the correct package name, SHA-1, and SHA-256 are configured in the Firebase Console. [ Invalid app info in play_integrity_token]
    My app gives this ERROR..
    How to solve it.

  • @afreensworld786
    @afreensworld786 3 роки тому

    in your video time 24.00 minutes you run the code and output seen but before this time you never used verifY_btn so how you press this button ?

  • @CodingwithT
    @CodingwithT  4 роки тому +1

    For App Development:
    Email: developer@taimoorsikander.com
    Whatsapp: +92-306-0000606

  • @XiaoLongBae
    @XiaoLongBae 4 роки тому +1

    firebaseAuth.signInWithCredential(credential).addOnCompleteListener(VerifyPhoneNo.this.new com.google.android.gms.tasks.OnCompleteListener() {
    }) i keep getting this when generating.please help

    • @XiaoLongBae
      @XiaoLongBae 4 роки тому +1

      in 19:33

    • @XiaoLongBae
      @XiaoLongBae 4 роки тому +1

      it's now done but there is no authentication number that I receive and data is not save in the database should I remove the comment in the helper class again?

    • @XiaoLongBae
      @XiaoLongBae 4 роки тому +1

      //UserHelperClass helperClass = new UserHelperClass(name,username,email,phoneNo,password);
      //reference.child(username).setValue(helperClass);

    • @XiaoLongBae
      @XiaoLongBae 4 роки тому +1

      This app is not authorized to use Firebase Authentication I got this Notif also in the VerifyPhoneNo page

    • @CodingwithT
      @CodingwithT  4 роки тому

      Please first enable it in firebase=> authentication=>enable phone authentication first

  • @brosis8238
    @brosis8238 4 роки тому +1

    hello Boss good tutoriel but i have some problem
    I didn't receive the message code but in the console I have this message
    the message : I/PhoneAuthProvider: Sms auto retrieval timed-out.

  • @Man_arulhidayat
    @Man_arulhidayat 4 роки тому +1

    assalamualaikum... Hi mr.taimoor..
    I have question, i has create register and login with firebase and work. But i want add otp when i'm login..
    it's no problem right? actually, last day i try to add otp but it's didn't work.. Firebase didn't sent otp in my number...
    if u have concact person, i'm really happy :)

    • @CodingwithT
      @CodingwithT  4 роки тому

      There must be some problem in it! Otherwise you can get OTP anytime

    • @Man_arulhidayat
      @Man_arulhidayat 4 роки тому

      @@CodingwithT Yeah, i know it. Actually i'm confuse, its my script or in firebase. Because in there (android studio) its didn't have problem. Oke thanks mr.taimoor, i'll try again :). Thanks

  • @callmeyours..
    @callmeyours.. 3 роки тому +1

    Thanks first. Is there a way to accept only the phone number on which the app is installed. The reason is not to allow users to enter data on behalf of someone else by spoofing??

    • @CodingwithT
      @CodingwithT  3 роки тому

      You can set timer here like if the phone number is not verified in 1 hour then remove the account

  • @ilmugosong1075
    @ilmugosong1075 4 роки тому

    Assalamualaikum Sir,
    I got this error " Cannot create PhoneAuthCredential without either verificationProof, sessionInfo, ortemprary proof.
    ", where is the problem? thank you sir

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do contact with me on Instagram

  • @atiqurrahman6464
    @atiqurrahman6464 3 роки тому

    sir how to authenticate with phone number and password. please reply

  • @rijusharma8067
    @rijusharma8067 4 роки тому

    Only showing the half of the code, not available the code for insert data to firebase

  • @manojkmr252
    @manojkmr252 4 роки тому +1

    sir..after the phone verification is successful , how to register like before? i mean to register new user and all the data will be inserted on database as before.
    database insert code where is written.

    • @CodingwithT
      @CodingwithT  4 роки тому

      Just use database insert code in that

  • @abderrahman9139
    @abderrahman9139 4 роки тому +5

    .may allah bless u.. You're unbelievable.
    machallah

  • @visu4225
    @visu4225 4 роки тому +2

    Can you tell me , how can we find nearby users of our app and send them message?

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      You have to get their locations first and then add a check about the specific area or use geo fencing => used in Google maps for the area. and generate your messages.

    • @visu4225
      @visu4225 4 роки тому

      @@CodingwithT can you suggest me any video or code how to check near by users and send message automatically.

    • @3washjumaal11
      @3washjumaal11 4 роки тому

      @@visu4225 same thing for my app am looking for video which help me to send notification from my app to nearest user

  • @ruchitadamodar8819
    @ruchitadamodar8819 4 роки тому +2

    great work! but the user has to enter the phone no and otp everytime he opens the app

    • @zoyevkhan8577
      @zoyevkhan8577 3 роки тому +1

      If user get successfull login then store his status in shared preference using a Boolean variable and next time when he trys to open up you have to check whether he has already login or not using shared preference if yes then don't go for otp process

    • @GameGuru_17
      @GameGuru_17 3 роки тому +1

      You can use .....
      If(auth.getCurrentUser()!=null)

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

  • @kumarsanjay8896
    @kumarsanjay8896 4 роки тому +1

    hi ,
    As user has signin with the phone number ,, and also wants to verify the email address , how can do this...
    can you please make a video on this .

    • @CodingwithT
      @CodingwithT  4 роки тому

      Sure I'll do that! You can do it by this way.
      When the user successfully validate his/her number then ask for the email verification and once it's done you can store his/her data in fdatabase or so on.

  • @joshuahenderson9670
    @joshuahenderson9670 3 роки тому +1

    Very nice work. Its been very helpful as I am still trying to understand some things that deal with coding. However, I do have a question, how can you have someone submit text that shows up in the app under events. Example name of event, event type, date time and location and picture. Also allowing for the app to delete those events after they are are done?

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

  • @budhadityachatterjee6270
    @budhadityachatterjee6270 4 роки тому +1

    Does this require Google Play Console 25$ payment ?
    Every time I run the app an error regarding SHA1 shows up ! Please help.
    This is the error -
    This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
    .

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      No it does not cost a single $ and please try to connect your app with firebase

    • @budhadityachatterjee6270
      @budhadityachatterjee6270 4 роки тому

      @@CodingwithT I have already connected with Firebase and Firestore .

  • @AfrynZak
    @AfrynZak 3 роки тому +1

    why does my MAIN_THREAD is red in color? Anyone know the answer?

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

  • @innocentbaraka4035
    @innocentbaraka4035 4 роки тому +1

    Please show us the full codes, am left in the dark. Some of your codes have been minimized so I cant understand some parts

    • @CodingwithT
      @CodingwithT  4 роки тому

      Apologies but can you check the code in description

  • @moridarshan3940
    @moridarshan3940 4 роки тому

    Api key is not valid
    How to solve this error?
    How to solve this error.?

  • @redongaming4023
    @redongaming4023 Рік тому

    App crash everytime when i enter the code and verify it..
    Help me in that...
    Urgently

    • @CodingwithT
      @CodingwithT  Рік тому +1

      Hi, just gone through the blog of this video. There you'll see some updates you have to make like recaptcha

  • @tazeem01
    @tazeem01 3 роки тому +1

    Worked for me!
    Love from india

  • @SunilKumar-jc5cb
    @SunilKumar-jc5cb 3 роки тому

    I watched and tried your code, It is not working for me. I got the error message in Toast is "The request contains malformed or mismatching credentials [App ID does not match requested project.]". Please help me!!!

  • @dhanushr6172
    @dhanushr6172 4 роки тому +2

    Can u make a video of user profile picture upload??

    • @CodingwithT
      @CodingwithT  4 роки тому

      Sure, I'm getting a lot of requests on it. So will try to create it ASAP

    • @dhanushr6172
      @dhanushr6172 4 роки тому

      @@CodingwithT Okay thank you 😊

  • @mohamedsamir1014
    @mohamedsamir1014 4 роки тому +1

    Thanks for your effort and replying at comments everything works fine for me only at every time we open the app need to write the username and password to next activity can you add check box (remember me ) thanks

    • @CodingwithT
      @CodingwithT  4 роки тому

      I'm glad you like it. Now I'm going to start a new complete app which will be playstore ready and professional by all means.
      It will not just teach you the basics but at the end you all will be able to launch your own app and start earning.

    • @mohamedsamir1014
      @mohamedsamir1014 4 роки тому +1

      @@CodingwithT we are waiting wish all success to you
      God bless you

    • @CodingwithT
      @CodingwithT  4 роки тому

      @@mohamedsamir1014 thank you so much 😊

  • @davidcharles223
    @davidcharles223 3 роки тому

    For those who tried to emulate their app in AVD and prompted for "Enable app verification" or "Error", add SHA 1 fingerprint to your project in firebase > project settings > Add fingerprint and then Connect your real phone with USB debugging and emulate it on real device. This wont work on Emulator.

  • @sikandarali2731
    @sikandarali2731 4 роки тому +2

    Sir, the number will show in firebase 🔥 or not ?? User Number

  • @yash2399
    @yash2399 4 роки тому

    Going through the same error that app is not connected to firebase where as it is connected and correct SHA-1 is not configured. Also i am using a real device not an emulator ,so please do the needy, Thank you for all your help .

  • @aidaaramlee3131
    @aidaaramlee3131 4 роки тому +1

    sir..after the phone verification is successful , how to register like before? i mean to register new user and all the data will be inserted on database as before.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Please use that registration code only database one and use inside the function when authentication succeeded

    • @aidaaramlee3131
      @aidaaramlee3131 4 роки тому

      @@CodingwithT thankyou sir. sir i have one more question. i want go to homepage after click on the login btn. but when i did that, the user profile do not have the data that we insert. it become empty. what should i do

  • @zakariaah7623
    @zakariaah7623 4 роки тому +1

    perfect but sur i hane aprobleme when i rtest the application ..the app has stoped ...help me please

  • @liderl.m.9850
    @liderl.m.9850 4 роки тому +1

    I had a problem, when I was waiting for my code verification,when this is was sended to me twice with different phone numbers and I did exactly what you did, I checked my code and there is no point where I send the code verification twice. Becase this, I saw a message exception from google and it shows "this device has been blocked due to.." and this is because I was doing test, how can I unblock this? will this device block be forever? please I want to know these 2 questions, finally.. thanks so much for your help

    • @CodingwithT
      @CodingwithT  4 роки тому

      No not forever! You can try to delete that phone no from authentication section and it will be back

  • @ashipeali8792
    @ashipeali8792 4 роки тому +1

    Plz help sir, questions feeding for complete source code to send link sir

  • @ashishthakur544
    @ashishthakur544 4 роки тому

    what should I do if I Want whole information into UserprofileActivity .java class after verification
    @CodingWithT

  • @sagarjugul
    @sagarjugul 4 роки тому +1

    admin video bhejiye sir

    • @CodingwithT
      @CodingwithT  4 роки тому

      I'll show you this in upcoming tutorials 😍

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 4 роки тому +1

    thanks bro. I will test and update. I am a java developer

  • @vighneshpathak9651
    @vighneshpathak9651 3 роки тому +1

    My I click on the go button while registering it is directly coming on to the login activity without the verification page...
    Please help me so that I can resolve my issue.

    • @CodingwithT
      @CodingwithT  3 роки тому

      Do me WhatsApp on wa.me/+923060000606

    • @luantruong6601
      @luantruong6601 3 роки тому

      sorry can you solve, i also have same problem

    • @dayyumhey
      @dayyumhey 3 роки тому

      @@luantruong6601 can you send me the project if you have made it bro please

  • @rubinayasmin6085
    @rubinayasmin6085 4 роки тому +1

    Bro, please make a video on Layouts like Linear Layout and Relative Layout!

  • @muhammadshariq6549
    @muhammadshariq6549 4 роки тому +1

    cannot receive OPT

  • @teychenyi2586
    @teychenyi2586 4 роки тому +1

    Sir, if task is successful, how can I hide the edit text? It show me error.
    Pls help, thank you.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Just set its visibility like editTextName.setVisibility(View.invisible);

    • @teychenyi2586
      @teychenyi2586 4 роки тому

      @@CodingwithT Yes, i did like this. But it shows me the app is stop working, pls help.

    • @rohitsixteen8432
      @rohitsixteen8432 4 роки тому

      @@teychenyi2586 check log for error

  • @SUSMITRUDRA
    @SUSMITRUDRA 4 роки тому

    Sir, how you created this kind of background? Can you please tell sir?

  • @semicolonites5485
    @semicolonites5485 4 роки тому +1

    Hi
    The code is working fine. Thanks for such a great video. I have a problem: I am receiving OTP code only for the first time I am registering, then even if I uninstall the app then also I am not getting OTP to SIGN IN with the same number.

    • @CodingwithT
      @CodingwithT  4 роки тому

      Because your number is already in the list

    • @mahmadtahir3113
      @mahmadtahir3113 2 роки тому

      @@CodingwithT AOA in which list ?

    • @mahmadtahir3113
      @mahmadtahir3113 2 роки тому

      @@CodingwithT firebase user authentication list ma sy user ko remove kr k bi otp ni a ri !

  • @tanaychoudhary3417
    @tanaychoudhary3417 4 роки тому

    This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
    This is shown whenever the otp page is popped what to do ?
    Can't resolve this issue

    • @CodingwithT
      @CodingwithT  4 роки тому

      Please connect it with firebase and make sure that SHA-1 is also configured

  • @demigod6190
    @demigod6190 4 роки тому +2

    May Allah bless you brother. Love from Bangladesh

  • @Mustafamustafa-mi6ux
    @Mustafamustafa-mi6ux 4 роки тому +1

    firebase is blocked in my country
    i need to use vpn in order to use the service
    any suggestions ?????

    • @Mustafamustafa-mi6ux
      @Mustafamustafa-mi6ux 4 роки тому +1

      is there a way to make my app to run a built it vpn so i can use firebase services

    • @CodingwithT
      @CodingwithT  4 роки тому

      Not sure but will search for you

  • @marcoantoniosolisvazquez2614
    @marcoantoniosolisvazquez2614 4 роки тому +1

    taimoor i fucking love u, you are save my schoolar project

    • @CodingwithT
      @CodingwithT  4 роки тому

      lol :D Thank you and you can also follow city guide app for more interesting things

  • @imtiazsanai3147
    @imtiazsanai3147 4 роки тому

    i have been following your videos implemented Splash screen animations in my app and the font antic and the other one are awesome completely changed look. didn't implemented OTP verification but in future this video will help alot
    Thanks man you are a saviour
    ALLAH Bless you
    Happy Coding!

  • @amitdreamworld
    @amitdreamworld 2 роки тому

    Hello sir, I have a problem, when I call for OTP request than the below statment is showing
    This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details.

    • @CodingwithT
      @CodingwithT  2 роки тому

      Please check the link provided in description for latest OTP

  • @hrithiksharma922
    @hrithiksharma922 4 роки тому

    Hello Sir! This was a very helpful video. Although my Usecase for OTP is quite different. After creating an account with the phone number (all credentials are stored in a realtime database), user has to sign in with their username and password (not their phone number). Then the OTP page arrives. This means I have to verify the phone number which is in the realtime database. Is it possible to do this way ?

  • @shahnawazshaikh9371
    @shahnawazshaikh9371 4 роки тому +1

    Can any one suggest me library/dependency for excellent UI, specially for registration

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Material dependency is the best one! Please have a look at ua-cam.com/video/aU8dWySoMOU/v-deo.html

  • @kthehatter
    @kthehatter 3 роки тому +1

    does it work on flutter

    • @CodingwithT
      @CodingwithT  3 роки тому +1

      Yes

    • @kthehatter
      @kthehatter 3 роки тому

      @@CodingwithT should i follow the same steps or is it different

  • @shagunagarwal7274
    @shagunagarwal7274 4 роки тому

    I want to sign up user using email password authentication. But during registration, some user details are required which include phone number. How to verify phone number by sending OTP via Firebase, keeping authentication method still email and password? PhoneNumber is not to be used as a method of signing in. Just want to check whether the phone number entered belongs to the person or not.

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      After email and password verification you can call another screen to get the users data and when he/she pressed the save button then call a new screen to verify the OTP and if verified just store the data normally as you are doing, no need to keep phone number as a key node.

  • @codewithmi7749
    @codewithmi7749 4 роки тому +1

    kindly make a simple vedio on book mark in android studio

  • @manoharpoduri776
    @manoharpoduri776 4 роки тому +1

    hi bro iam not able to get the opt for my phone also please help me in this bro

    • @CodingwithT
      @CodingwithT  4 роки тому

      Sorry for the delay! As there was lot of comments to handle! Is your error solved?

    • @QuanLe-je2ns
      @QuanLe-je2ns 4 роки тому

      @@CodingwithT I have the same error with mcallbacks is null, please help me :(
      Thanks you

  • @dineshkumarrg5952
    @dineshkumarrg5952 4 роки тому +1

    brother how to store data after otp process is finishes..

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      When the process is done! you can simply create a new function let say registerUserData() and call it inside the last function when task.isSuccessfull called

  • @kzshaown2091
    @kzshaown2091 3 роки тому +1

    Amazing Video, Following your complete tutorial but unfortunately, I'm not getting an error
    Every time I click GO button. It's saying "this request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTHA checks succeed. Please try again, or check the logcat for more details

    • @CodingwithT
      @CodingwithT  3 роки тому +1

      Hi Kz Shaown,
      Please watch my latest video on Phone authentication and if still you face the same issue please let me know.
      ua-cam.com/video/lk4du-8giyQ/v-deo.html
      Regards 😊

    • @kzshaown2091
      @kzshaown2091 3 роки тому

      @@CodingwithT okay sir thanks a lot. Love from Bangladesh

    • @kzshaown2091
      @kzshaown2091 3 роки тому

      @@CodingwithT Solved the problem partially. SHA1 and SHA 256 key added. And enabled firebase Android device check API. Now firebase is sending me an OTP in mobile but App doesn't to go the Verification activity page. Whenever I click the GO Button it just Refreshes and blanks all the data. But it doesn't go to verfication page. Any solution?

    • @azizulhakim656
      @azizulhakim656 2 роки тому

      @@kzshaown2091 I have faced same problem brother. I'm trying my best to overcome this problem but can't get any solution . If you get any solution about it just comment here. It will be very helpful. Thanks

    • @CodingwithT
      @CodingwithT  2 роки тому

      🖤

  • @pushkarprabhat7152
    @pushkarprabhat7152 4 роки тому

    Please make a video of whole realtime database and login with phone auth

  • @akshaykini8947
    @akshaykini8947 4 роки тому

    Unable to receive OTP

  • @onkarpatil7791
    @onkarpatil7791 4 роки тому

    Error: The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console.
    But in the console there is the provider is showing enabled.

    • @iptalks4893
      @iptalks4893 4 роки тому

      try to delete hourn google-services.jason file from Project>app> , then go to firebase console and download new google services.json file and copy paste in same directory and restart android studio and enjoy.

  • @aymenadoui3264
    @aymenadoui3264 4 роки тому

    I need the backgroud you used in backgroud = "@drawable/verify_activity"

  • @unknown-p-w
    @unknown-p-w 4 роки тому +1

    what type of android emulator do you use?

  • @parvezkhan8117
    @parvezkhan8117 3 роки тому

    sir make one video on authentication using email and password