-
-
Save pavan5208/c87abca2f247c743668501dcdb1e2468 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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