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

293
Views
Firebase login pre-built UI not showing Sign in with Email button

I'm using Firebase's pre-built login UI for my app's authentication and had it all working for a while using Facebook, Google, and email/password auth. Then for some odd reason the Sign in with Email button disappeared on every device I test with.

Here's a shot of the device: enter image description here

And here are the directions to enable email login from the Firebase docs: enter image description here

Which is exactly what I did: enter image description here

Here's the code I'm using to show the Login screen:

override func viewDidAppear(_ animated: Bool) {
    super.viewDidAppear(animated)

    if Auth.auth().currentUser == nil {
        let providers: [FUIAuthProvider] = [
            FUIGoogleAuth(),
            FUIFacebookAuth(),
            ]
        authUI!.providers = providers

        self.showLoginScreen()
    }

func showLoginScreen() {
    authViewController = authUI!.authViewController()
    self.present(authViewController, animated: true, completion: nil)
}
func authPickerViewController(forAuthUI authUI: FUIAuth) -> FUIAuthPickerViewController {
    return LoginViewController(authUI: authUI)
}

And here's my subclass for the login screen in order to customize it (eventually):

class LoginViewController: FUIAuthPickerViewController {

override init(nibName: String?, bundle: Bundle?, authUI: FUIAuth) {
    super.init(nibName: "FUIAuthPickerViewController", bundle: bundle, authUI: authUI)
}

required init?(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)
}

override func viewDidLoad() {
    super.viewDidLoad()
}

override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)

    //self.title = ""
    self.view.backgroundColor = UIColor.red


}

}

Any help would be appreciated!

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

After I updated my pods, I had to explicitly include pod FirebaseUI/Email in my pod file whereas before I didn't need it. Including that fixed the issue.

over 4 years ago · Santiago Trujillo Report

0

In my case after I included the pod 'FirebaseUI/Email', I had to update my providers array as well:

        let providers = [FUIGoogleAuth(), FUIEmailAuth()]

        authUI?.providers = providers
over 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!