Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

143
Vistas
No se puede ejecutar Google Signin y Facebook Signin on en IOS Simulator. Sin errores

No se puede ejecutar Google Signin y Facebook Signin on en IOS Simulator. Sin errores. Pero cuando ejecuto el inicio de sesión de Apple, funciona bien. Uso de Firebase Authentication con reacción iónica y capacitor.

 const signInWithApple = async () => { // 1. Create credentials on the native layer const result = await FirebaseAuthentication.signInWithApple(); // 2. Sign in on the web layer using the id token and nonce const provider = new OAuthProvider('apple.com'); const credential = provider.credential({ idToken: result.credential?.idToken, rawNonce: result.credential?.nonce, }); const auth = getAuth(); return await signInWithCredential(auth, credential); }; const signInWithGoogle = async () => { // 1. Create credentials on the native layer const result = await FirebaseAuthentication.signInWithGoogle(); // 2. Sign in on the web layer using the id token const credential = GoogleAuthProvider.credential(result.credential?.idToken); const auth = getAuth(); return await signInWithCredential(auth, credential); }; const signInWithFacebook = async () => { // 1. Create credentials on the native layer const result = await FirebaseAuthentication.signInWithFacebook(); if (!result?.credential?.accessToken) throw new Error("Something went wrong"); // 2. Sign in on the web layer using the access token const credential = FacebookAuthProvider.credential(result.credential?.accessToken); const auth = getAuth(); return await signInWithCredential(auth, credential); };
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda