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