Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.4/lib/src/firebase_auth.dart:340:10: Error: The method 'confirmPasswordReset' isn't defined for the class 'FirebaseAuthPlatform'.
FAILURE: Build failed with an exception.
I'm getting the same issue on version 0.15.4
I also got this issue and then I upgraded to the latest version of flutter stable channel to fix it.
I'm having the same issue. On stable channel Dart 2.7, Flutter: 1.12.13, upgraded to beta channel also yield this same issue.
I'm able to compile on Android if commented // confirmPasswordReset method on FirebaseAuth. But on IOS it wont compile due to pod problem, not sure my fault or related, I'll dive it again.
Future
return FirebaseAuthPlatform.instance.confirmPasswordReset(app.name, oobCode, newPassword);
}
Seems like this method did not get called in the FirebaseAuthPlatform?
I have the same problem :(
I use Flutter 1.12.13 + hotfix.7 • stable channel and Dart 2.7.0.
At the moment, the only solution I found was to downgrade to firebase_auth: 0.15.3+1
Same here
Same firebase_auth: ^0.15.4
Solved mine
#1885
it work's finally run this commands in terminal
1) flutter pub upgrade
2) flutter run
Most helpful comment
it work's finally run this commands in terminal
1) flutter pub upgrade
2) flutter run