Im currently using Firebase to manage my user. I like the idea that i can store my user infos such as email, photoUrl and others into
let user = FIRAuth.auth()?.currentUser
user?.updateEmail("user@example.com") { error in
if let error = error {
// An error happened.
} else {
// Email upenter code heredated.
}
}
now of course this only work for the current sign in user, if i want to retrieve the same info of another user by using another user id how can I retrieve this.