I've noticed that I am no longer receiving either email verification or password reset emails from Firebase.
My project is built on Flutter & these features were once working.
For troubleshooting purposes, I updated my project today, both the Flutter version & the various libraries. Still no luck.
I then created a brand new app from scratch, and even copied over all the libraries I am using and my new project works. I get both emails.
Has anyone else encountered this? Best place to start for additional troubleshooting?
Here's my Reset Password code:
class AuthenticationService {
final _auth = FirebaseAuth.instance;
late AuthStatus _status;
Future<AuthStatus> resetPassword({required String email}) async {
await _auth
.sendPasswordResetEmail(email: email)
.then((value) => _status = AuthStatus.successful)
.catchError(
(e) => _status = AuthExceptionHandler.handleAuthException(e));
return _status;
}
}
// then on my UI screen I call this
final _status = await _authService.resetPassword(
email: _emailTextEditingController!.text.trim());
if (_status == AuthStatus.successful) {
print('SUCCESS!!!');
} else {
final error = AuthExceptionHandler.generateErrorMessage(_status);
print('error -> $error');
}
I am always getting Success so I'm not sure what else to try.
To note, these emails ARE NOT going into a SPAM folder.
I've tested thoroughly, both from my app and from the Firebase Users portal & the emails are just not being sent out or received AT ALL.