Skip to content

Instantly share code, notes, and snippets.

Last active Jul 18, 2021
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 =
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