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
First needed:
pod 'FirebaseUI/Email'
Then added: FUIEmailAuth(),
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
Actually its not properly described in the Firebase Documentation for iOS.
You have to add the pod pod 'FirebaseUI/Email' and after that:
that will trigger Email sign in.