Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

202
Visualizações
Email login option gone after FirebaseAuth upgrade iOS

I suddenly no longer get the email option on the login page. It was always there and then since upgrading it is now gone!

Here is how I declare the providers:

   let providers: [FUIAuthProvider] = [
        FUIGoogleAuth(),
        FUIFacebookAuth(),
        FUITwitterAuth(),
        FUIPhoneAuth(authUI:FUIAuth.defaultAuthUI()!)
    ]

I don't see any new EmailAuth. Evidently it was always defaulted in and now it is gone and I can't find any notice of a change.

EDIT:

Tried adding:

   let providers: [FUIAuthProvider] = [
        FUIEmailAuthProvider(), <======  compile error
        FUIGoogleAuth(),
        FUIFacebookAuth(),
        FUITwitterAuth(),
        FUIPhoneAuth(authUI:FUIAuth.defaultAuthUI()!)
    ]

but got this error:

'FUIEmailAuthProvider' cannot be constructed because it has no accessible initializers

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

First needed:

pod 'FirebaseUI/Email'

Then added: FUIEmailAuth(),

over 4 years ago · Santiago Trujillo Relatório

0

What if you replace FUIEmailAuthProvider() withFUIEmailAuth() instead;

let providers: [FUIAuthProvider] = [
  FUIEmailAuth(),
  FUIGoogleAuth(),
  FUIFacebookAuth(),
  FUITwitterAuth(),
  FUIPhoneAuth(authUI: FUIAuth.defaultAuthUI()),
]

And add the following to the Podfile:

pod 'FirebaseUI/Auth'

pod 'FirebaseUI/Email'
pod 'FirebaseUI/Google'
pod 'FirebaseUI/Facebook'
pod 'FirebaseUI/Twitter'
pod 'FirebaseUI/Phone'

According to: Using FirebaseUI for Authentication

over 4 years ago · Santiago Trujillo Relatório

0

Actually its not properly described in the Firebase Documentation for iOS.

You have to add the pod pod 'FirebaseUI/Email' and after that:

  1. import FirebaseUI
  2. include FUIEmailAuth() as a provider

that will trigger Email sign in.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda