I am trying to use the sendEmailVerification()
method of Firebase
after registering the user through Login by email. My problem is that I do not see the option to use this method after creating the user in the database through createUserWithEmailAndPassword
.
I'm using version 9.0.2 of Firebase
(firebase-auth)
.
I'm trying to call the sendEmailVerification()
method as follows:
FirebaseAuth auth = FirebaseAuth.getInstance();
FirebaseUser user = auth.getCurrentUser();
user.sendEmailVerification()
Does anyone know why this is happening to me?