onAuthStateChanged doesn't get called when email is verified in flutter
问题 When a user signs up in my app he gets a verification e-mail. The onAuthStateChanged -listener gets called when a user gets created using createUserWithEmailAndPassword but not after the email got verified. I have a separate class which handles all authentications. The following method is to sign up user Future<FirebaseUser> signUpUser(email, password) async { final FirebaseUser user = await _auth.createUserWithEmailAndPassword(email: email, password: password); assert (user != null); assert