Beginning Firebase - Part 16: User Creation | Ray Wenderlich

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

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

@bokalvslund Glad you sorted it out! Cheers! :]