Email Authentication
-
Firebase Console:
- Go to the Firebase Console.
- Create a new project or select an existing one.
- Enable Email/Password authentication in the Authentication section.
-
Project Configuration:
- Add the
google-services.json
file to yourandroid/app
directory. - Add the
GoogleService-Info.plist
file to yourios/Runner
directory.
- Add the
-
Code Integration:
- Email authentication is implemented in
lib/services/auth_service.dart
. Refer to the methods in this file to handle sign-in, sign-up, and sign-out operations. - Use
AuthService().signInWithEmail(email, password)
to authenticate using email.
- Email authentication is implemented in