This project's goal is to learn how to integrate Firebase into our Flutter projects. To provide our app with a cloud-based NoSQL database and safe authentication techniques, we'll use Firebase Cloud Firestore and the Firebase authentication package.
This project is a part of a series of projects that I created while learning Flutter.
Check out all of my flutter projects here.
This was a part of the The Complete 2021 Flutter Development Bootcamp with Dart by Dr. Angela Yu.
-
- Clone the repo
git clone https://github.com/MrAlpha786/FlashChat
- cd into the project's root directory and run:
flutter pub get
-
Create a Firebase project on Firebase.
-
Follow the instructions here to add Firebase to the app.(Note: Firebase initialising code is already in main.dart.)
-
Add Authentication and Cloud Firestore to the project from your Firebase console.
-
You can test the app in debug mode by running the below command in the project's root directory:
flutter run
-
Follow the Build and Release instructions.
- If you get a minSdkVersion error, add the below lines to
/android/local.properties
(Note: In the future you may have to change them manually):
flutter.minSdkVersion=19 flutter.targetSdkVersion=32 flutter.compileSdkVersion=32
- If you get a minSdkVersion error, add the below lines to
Welcome Screen | Login Screen |
---|---|
Registration Screen | Chat Screen |
---|---|