skip to Main Content

Email update in Firebase Authentication – Kotlin

I want the user to be able to update their email address from within the app. I wrote the following code to update email in Firebase Authentication. val user = firebaseUser.currentUser!! val credential = EmailAuthProvider .getCredential(currentEmail, currentPassword) user.reauthenticate(credential) .addOnCompleteListener {…

VIEW QUESTION
Back To Top
Search