Skip to content

Instantly share code, notes, and snippets.

@pavan5208
Last active Jul 18, 2021
Embed
What would you like to do?
fun getCurrentUserInfo(){
val user = Firebase.auth.currentUser
user?.let {
// Name, email address, and profile photo Url
val uid = user.uid
val name = user.displayName
val email = user.email
val photoUrl = user.photoUrl
val emailVerified = user.isEmailVerified
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment