Firebase Flutter Project
Create a New Firebase Project
Go to the Firebase Console.
Click Add Project and follow the steps to create a new project. Example: Name the project
GoldTvApp
.

Give your project name and click continue.

Step 4: Add Firebase to Your Flutter App
Copy the Flutter command provided by Firebase during project setup. Example command:
flutterfire configure --project=rixos-play
Run the command in your app's root directory. This will generate the required Firebase configuration files (
google-services.json
for Android andGoogleService-Info.plist
for iOS).Pick Android and iOS platforms during the configuration process.
Step 1: Add New Project Platform

Step2: Click Flutter

Step 3: Copy both commands to your terminal project

Step 5: Enable Cloud Firestore
In the Firebase Console, go to Build > Firestore Database.
Click Create Database, choose a location, and set it to start in test mode. Test mode automatically enables read and write permissions:
rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } }
Publish the rules.

Last updated