Relative Content

Tag Archive for flutterfirebasedarttry-catch

Registration in Flutter using Firebase does not work

I’m building a Flutter application with Firebase authentication, and I’m implementing user registration using email and password. Everything works fine except for one issue: when a user enters an invalid email address (e.g., missing “@” symbol), error handler (try-catch) doesn’t work, the code stops at the line await FirebaseAuth.instance