Mobile App
Firebase Setup
Email Authentication

Email Authentication

  1. Firebase Console:

    • Go to the Firebase Console.
    • Create a new project or select an existing one.
    • Enable Email/Password authentication in the Authentication section.
  2. Project Configuration:

    • Add the google-services.json file to your android/app directory.
    • Add the GoogleService-Info.plist file to your ios/Runner directory.
  3. 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.