Firebase Integration and Authentication Assignment
Objective
To explore Firebase and its features, understand its importance in mobile app development,
and implement sign-up and login screens using Firebase Authentication in a Flutter app.
Assignment Tasks
1. Explore Firebase Features and Importance
1. What is Firebase?
o Define Firebase and describe its key features.
o Explore Firebase’s core services such as:
Authentication
Firestore (Database)
Firebase Storage
Firebase Cloud Messaging
Firebase Analytics
o Explain the importance of using Firebase in mobile app development,
particularly for authentication, real-time databases, and cloud storage.
2. Firebase Authentication
o Define Firebase Authentication and its role in managing user identities.
o List the authentication methods supported by Firebase, such as:
Email/Password authentication
Google Sign-In
Facebook Login
Phone number authentication
o Discuss the security benefits of using Firebase Authentication in your app.
2. Implement Firebase Authentication in Flutter
1. Firebase Setup
o Set up a Firebase project in the Firebase console.
o Add Firebase to your Flutter app using the Firebase SDK.
o Enable Email/Password authentication in the Firebase Authentication
settings.
2. Sign-Up Screen
o Create a sign-up screen where users can input their email, password, and
confirm password.
o On form submission, authenticate the user with Firebase Authentication to
create a new user account.
o Display success or error messages based on the outcome.
3. Login Screen
o Create a login screen where users can input their email and password to log
in.
o Use Firebase Authentication to sign the user in.
o Display appropriate messages based on the login result (success or failure).
4. Navigation After Login
o After a successful login, navigate the user to a home screen or dashboard.
o If the login fails, display an error message.
Guidelines
1. Ensure proper error handling for user input, such as invalid email format or weak
passwords.
2. Use Firebase Authentication’s built-in features like password reset and email
verification to enhance security.
3. Organize code into separate files for better readability and maintainability.
4. Ensure the app is responsive and user-friendly.
Submission Requirements
1. Submit the following:
o A zipped folder containing the complete dart files with Firebase
Authentication implemented,assets,[Link]
o Screenshots of the sign-up and login screens in action (including both
successful and unsuccessful login attempts).
2. Ensure the app is free of runtime errors.