#
otp problem with Firebase

I want to add otp functionality to the application. but when I try to contact Firebase using otp. I can't get otp for firebase. I'm in Azerbaijan. Please help me.

Asked 2 weeks ago on September 8, 2024 11:54 AM Comments 28 times


  1. Generic placeholder image

    kane replied


    Update your region in firebase and check again.

  2. Generic placeholder image

    tural hacibeyli replied

    but when i try phone number from another country for example Turkiye . otp works well

  3. Generic placeholder image

    kane replied

    Hello,

    It seems that the OTP login is not working because the SHA keys have not been added correctly to Firebase. Please ensure that both the debug and release SHA-256 and SHA-1 keys are added in Firebase. After that, download the updated google-services.json, replace it in the app, and rebuild the app. Once this is done, the issue should be resolved.

    Generate SHA:
    SHA Generation

    Thanks and regards,

    Kane.

  4. Generic placeholder image

    tural hacibeyli replied

    The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.

     

     

    i see that error

    ATTACHED FILES

  5. Generic placeholder image

    kane replied

    Hello share new code this is expired.

     

  6. Generic placeholder image

    tural hacibeyli replied

    can you connect with google remote

  7. Generic placeholder image

    tural hacibeyli replied

    please connect from google remote  667439809918

  8. Generic placeholder image

    tural hacibeyli replied

    google remote 667439809918

  9. Generic placeholder image

    kane replied

  10. Generic placeholder image

    kane replied

    ok i sent request

     

  11. Generic placeholder image

    tural hacibeyli replied

    i am waiting

     

  12. Generic placeholder image

    kane replied

    Hello Keep anydesk running i am connecting.

  13. Generic placeholder image

    tural hacibeyli replied

    anydesk 1540665245

  14. Generic placeholder image

    tural hacibeyli replied

    Hello, how are you today? I still have the same problem. can you connect today and help me? I will send you any table.

  15. Generic placeholder image

    kane replied

    Okay

  16. Generic placeholder image

    tural hacibeyli replied

    i will give you different anydesk. becouse code on another pc

  17. Generic placeholder image

    kane replied

    Kindly Recconect I am not able to connect.

  18. Generic placeholder image

    tural hacibeyli replied

    636078682

  19. Generic placeholder image

    tural hacibeyli replied

    636078682

  20. Generic placeholder image

    tural hacibeyli replied

    636078682

  21. Generic placeholder image

    kane replied

    Hello,

    Could you please provide AnyDesk access so I can assist you more effectively?

    Best regards,
    Kane

  22. Generic placeholder image

    tural hacibeyli replied

    we need help with rider 

  23. Generic placeholder image

    tural hacibeyli replied

    I added the sha key. I can give you access to Firebase dashboard, please help me.

    [email protected]

    pass: beybalaebiloldu1901@#

    when you will try enter to my account. i will get otp from google you can ask it from me. from skype my skype name Dede Miki

  24. Generic placeholder image

    kane replied

    Hello,

    Please check if your SHA keys are displayed in the Firebase Console by following these steps:

    • Go to Firebase Console -> Project Settings -> General -> Your Apps -> Android Apps -> SHA Certificate Fingerprints.

    If the SHA keys are not listed, you'll need to add them to Firebase and then update the google-services.json file in your app's code (android/app/google-services.json).

    For more details, please refer to the documentation.
    If you're unsure how to generate SHA keys, check out this guide:
    click here

    If the issue persists after trying this, feel free to reach out for further assistance.

     

    Best regards,
    Kane
    Support Team

  25. Generic placeholder image

    tural hacibeyli replied

    void loginWithPhone() async {

        _auth.verifyPhoneNumber(

          phoneNumber: "+994666692121",

          verificationCompleted: (PhoneAuthCredential credential) async {

            await _auth.signInWithCredential(credential).then((value) {

              print("You are logged in successfully");

            });

          },

          verificationFailed: (FirebaseAuthException e) {

            print(e.message);

          },

          codeSent: (String verificationId, int? resendToken) {

            otpVisibility = true;

            verificationID = verificationId;

            setState(() {});

          },

          codeAutoRetrievalTimeout: (String verificationId) {},

        );

      }

     

     

    I'm trying to connect with Firebase and use OTP. When I manually add the number to the Firebase database, the OTP is sent and works normally. However, when I do it automatically from the app, it doesn't work. This is the code.

  26. Generic placeholder image

    Angela replied

    Have you enable signin method from the firebase?

    Thanks & Regards
    - Angela
  27. Generic placeholder image

    tural hacibeyli replied

    i did not see error just i can not get otp

  28. Generic placeholder image

    Angela replied

    Please share the error log

    Thanks & Regards
    - Angela
Recent Tickets
Rider application... 4 days ago on September 24, 2024 12:00 PM Pricing Table is not work... 5 days ago on September 23, 2024 12:05 PM The current Dart SDK vers... 1 week ago on September 20, 2024 9:51 AM The new update didn't wor... 1 week ago on September 19, 2024 10:56 PM the map does not appear... 1 week ago on September 19, 2024 4:21 AM Rider trip recursion issu... 1 week ago on September 17, 2024 5:46 PM rider app is looping afte... 2 weeks ago on September 11, 2024 7:52 AM otp problem with Firebase... 2 weeks ago on September 8, 2024 11:54 AM Budget for a modify in ap... 3 weeks ago on September 3, 2024 3:12 AM error in new code... 4 weeks ago on August 31, 2024 11:30 AM