Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
undefined no es un constructor (evaluando 'new _auth.PhoneAuthProvider()')

Estoy tratando de implementar la autenticación de teléfono de Firebase en expo. Firebase está conectado pero me da un error indefinido que no es un constructor (evaluando 'nuevo _auth.PhoneAuthProvider ()')

 //send verification code sms const sendVerificationCode = async () => { try { const phoneProvider = new PhoneAuthProvider(); //giving error here console.log(phoneProvider); const id = await phoneProvider.verifyPhoneNumber( phoneNumber, recaptchaVerifier.current ); console.log(id); Alert.alert("Verification code has been sent to your phone."); navigation.navigate("Otp", { verificationId: id, phoneNumber: phoneNumber, }); } catch (err) { // Alert.alert("Please enter a valid number."); console.log(err); } };
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Firebase no expuso el método PhoneAuthProvider en la versión 9.1.2 Eso estaba creando este problema y se resolvió ahora en la versión 9.2.0. Vea el problema aquí github.com/expo/expo/issues/14780.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!