This Flutter application provides comprehensive sign-in and login functionalities using Firebase Authentication. It includes features such as email/password authentication, social logins (Google, Facebook), and secure user data handling.
Before running the app, ensure you have Flutter installed. Follow the official Flutter installation guide to set up Flutter on your machine.
-
Create a Firebase Project:
- Go to the Firebase Console and create a new project.
-
Add Android App to Firebase:
- In your Firebase project console, select the Android icon to register your app.
- Enter your Android package name, which can be found in
android/app/src/main/AndroidManifest.xml. - Download the
google-services.jsonfile and place it in theandroid/appdirectory of your Flutter project.
-
Add iOS App to Firebase (if applicable):
- In your Firebase project console, select the iOS icon to register your app.
- Enter your iOS bundle ID, which can be found in
ios/Runner.xcodeproj. - Download the
GoogleService-Info.plistfile and place it in theios/Runnerdirectory of your Flutter project.
-
Enable Authentication Providers:
- Go to the Firebase Console, navigate to
Authentication > Sign-in method, and enable the desired authentication providers (e.g., Email/Password, Google, Facebook).
- Go to the Firebase Console, navigate to
- Clone the Repository:
git clone https://github.com/your-username/your-repo.git cd your-repo