We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to update the users profile Icon and username?
The text was updated successfully, but these errors were encountered:
@andrewga I'm planning to add that feature in near future
Sorry, something went wrong.
@andrewga & @aslanyanhaik , I have tried below code to update user profile icon & username and it works.
func updateUserDetail(strUpdateName: String, strProfileURL: String) { let ref = Firestore.firestore().collection("Users") ref.document(UserManager().currentUserID() ?? "").updateData(["name": strUpdateName, "profilePicLink": strProfileURL]) { (err) in if let err = err { print("Error updating document: \(err)") } else { print("Document successfully updated") } } }
No branches or pull requests
Is it possible to update the users profile Icon and username?
The text was updated successfully, but these errors were encountered: