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

452
Views
Error TypeError: indefinido no es un objeto (evaluando 'verifier.verify')

Después de hacer clic en mi opacidad táctil que creé en reaccionar nativo, el botón redirige a esta función a continuación, y cuando se ejecuta, la función devuelve un error que indica Error TypeError: undefined is not an object (evaluating 'verifier.verify') No entiendo por qué Recibo este problema porque copié el código del sitio web de Firebase https://firebase.google.com/docs/auth/web/phone-auth?authuser=0&hl=en#set-up-the-recaptcha-verifier . ¡Gracias de antemano por cualquier respuesta!

 function phoneSignIn(phoneNumber, navigation){ // phoneNumber is a string ex: +11111111 let appVerifier = window.recaptchaVerifier; signInWithPhoneNumber(auth, phoneNumber, appVerifier) .then((confirmationResult) => { window.confirmationResult = confirmationResult; navigation.navigate('Verification Code'); }).catch((error) => { console.log("Error " + error); //returning error here }); }
about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Parece que está utilizando Firebase Web SDK para reaccionar nativo, en su lugar, debe usar un complemento para reaccionar nativo. Compruebe este complemento, por ejemplo

about 4 years ago · Santiago Trujillo Report

0

Me di cuenta de la respuesta de Tanays de que estaba usando la web en lugar de reaccionar nativo para las conexiones de autenticación de base de fuego. En su lugar, encontré un refrigerio de exposición https://snack.expo.dev/@feupp/firebase-phone-auth donde logré que la autenticación funcionara desde React Native.

about 4 years ago · Santiago Trujillo 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!