Therefore, I use FIRAuth createUserWithEmailto create a new user. I also want to assign displayNamefor this user. But this function only accepts email and password. What do I need to insert displayName?
FIRAuth.auth()?.createUserWithEmail(email, password: password, completion: { (user: FIRUser?, error: NSError?) in
})
Edit: Thus, there is a function called updateProfile. But this does not look like the iOS platform library. Any idea?
Edit: solution found here : need to use functionprofileChangeRequest
source
share