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

186
Views
En la autenticación de Firebase, ¿cómo puedo configurar el tipo de usuario?

Estoy tratando de desarrollar una aplicación con react-native y firebase.
En mi aplicación, hay dos formas de iniciar sesión (como usuario o como administrador)
Aquí está mi pregunta: ¿Cómo puedo crear un tipo para el usuario administrador?

 const handlesignup = () => { auth .createUserwithEmailAndPassword(email, password) .then((userCredentials) => { const user = userCredentials.user; console.log("Registered in with: ", user.email); }) .catch((err) => alert(err.message)); }; const handelogin = () => { auth .signInwithEmailAndPassword(email, password) .then((userCredentials) => { const user = userCredentials.user; console.log("Logged in with: ", user.email); }) .catch((err) => alert(err.message)); };
about 4 years ago · Juan Pablo Isaza
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!