Coder Social home page Coder Social logo

Comments (20)

brianssendagire avatar brianssendagire commented on August 11, 2024 1

I'm having a similar problem. Did you find a solution for this?

from opentrace-android.

Hoangtho11188 avatar Hoangtho11188 commented on August 11, 2024

As my knowledge, you should enable phone authentication on Firebase first.

from opentrace-android.

Biplovkumar avatar Biplovkumar commented on August 11, 2024

Also plz Setup of cloud function then set
declare type SUPPORTED_REGIONS = "us-central1" | "us-east1" | "us-east4" | "europe-west1" | "europe-west2" | "asia-east2" | "asia-northeast1";
in gradle.properties.

from opentrace-android.

hacker-0123 avatar hacker-0123 commented on August 11, 2024

@Biplovkumar yeah given in the build cofig but still same. I would be grateful if you can send me your backend firebase config. Details in my mail address.

from opentrace-android.

vishaljoseph avatar vishaljoseph commented on August 11, 2024

Hi, I'm having a similar issue. Were you guys able to solve it?

from opentrace-android.

hacker-0123 avatar hacker-0123 commented on August 11, 2024

from opentrace-android.

vishaljoseph avatar vishaljoseph commented on August 11, 2024

I have set up cloud functions as elaborated in the README and they have even appeared on my firebase dashboard. It still doesn't seem to be working. Do I have to include any particular regions in my config.ts file? Any idea what I could have possibly missed?

from opentrace-android.

hacker-0123 avatar hacker-0123 commented on August 11, 2024

from opentrace-android.

vishaljoseph avatar vishaljoseph commented on August 11, 2024

The logs:

D/OnboardingActivity: NOT-IDLE signInWithCredential:success
W/e.opentrace.st: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (light greylist, reflection)
W/e.opentrace.st: Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (light greylist, reflection)
W/e.opentrace.st: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (light greylist, reflection)
D/TempIDManager: NOT-IDLE [TempID] Error getting Temporary IDs
D/OnboardingActivity: NOT-IDLE Retrieved Temporary ID successfully
W/Utils: NOT-IDLE get handshake pin (failure): NOT_FOUND
E/OnboardingActivity: NOT-IDLE Failed to retrieve HandShakePin NOT_FOUND
I/PhoneAuthProvider: Sms auto retrieval timed-out.

Dashboard:

cloudfunc

from opentrace-android.

hacker-0123 avatar hacker-0123 commented on August 11, 2024

from opentrace-android.

vishaljoseph avatar vishaljoseph commented on August 11, 2024

I had mistakenly put in a different region in the code and changing it seems to have solved the problem. Thanks a lot!

from opentrace-android.

vishaljoseph avatar vishaljoseph commented on August 11, 2024

If I'm not wrong, the database location of my GCP Datastore should be in the same region as the above right?

from opentrace-android.

alexissinglaire avatar alexissinglaire commented on August 11, 2024

If I'm not wrong, the database location of my GCP Datastore should be in the same region as the above right?

@vishaljoseph : hi, do you have any issue in the app operation? if yes, maybe you can elaborate the detail here so we can help you to find the solution.

from opentrace-android.

Norbert-Mwebaze avatar Norbert-Mwebaze commented on August 11, 2024

I keep on running into this issue is there a fix to it...... Thanks

from opentrace-android.

Norbert-Mwebaze avatar Norbert-Mwebaze commented on August 11, 2024

OTP comes through but i get the message "Verification failed. Please try it again"

from opentrace-android.

capnmctavish avatar capnmctavish commented on August 11, 2024

Same issue, correct otp is entered still verification fails, timeout has also not occured.
But it succeeds when using the hardcoded numbers with preset OTP seamlessly

from opentrace-android.

purvajg avatar purvajg commented on August 11, 2024

did anyone find a fix for this?

from opentrace-android.

sanjeev-kumar-vs avatar sanjeev-kumar-vs commented on August 11, 2024

I am having the same issue. When user request for Otp then OTP will automatically read and trying to verifying with the firebase then it shows The sms verification code is expired and when user enter manually then it worked and user can logged in.

from opentrace-android.

ahmad-alk avatar ahmad-alk commented on August 11, 2024

Same issue here ☹️☹️

from opentrace-android.

ijunaidkhan avatar ijunaidkhan commented on August 11, 2024

same issue with my angular app, any solution?

https://stackoverflow.com/questions/72347766/angular-firebase-phone-authentication-gives-an-error-of-wrong-otp-even-it-is-co

from opentrace-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.