When making a user account system, users will need to create accounts. This video will walk you through the process.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4203-beginning-firebase/lessons/16
When making a user account system, users will need to create accounts. This video will walk you through the process.
This topic was automatically closed after 166 days. New replies are no longer allowed.
Hi.
Trying this tutorial - I’m getting this error:
Value of type ‘AuthDataResult’ has no member ‘sendEmailVerification’
Heres my code:
Auth.auth().createUser(withEmail: email, password: passWord){ user, error in
if (error != nil){
print(“Error: (error?.localizedDescription)”)
}
if (user != nil){
user?.sendEmailVerification(){
error in
print(error?.localizedDescription)
}
}
}
Is there a new syntax that I’m missing? thanks. /Bo
Ok - found this:
user?.user.isEmailVerified