0% found this document useful (0 votes)
10 views2 pages

Flutter Firebase Setup Guide

The document outlines the technical prerequisites for setting up a Flutter development environment, including the necessary tools and their installation guides. It details the steps for creating a Firebase project named 'ALG_ZimTrade', configuring authentication methods, and setting up a Firestore database with example rules. Additionally, it mentions the importance of using the FlutterFire CLI for Firebase integration.

Uploaded by

Jahseh Meza
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Flutter Firebase Setup Guide

The document outlines the technical prerequisites for setting up a Flutter development environment, including the necessary tools and their installation guides. It details the steps for creating a Firebase project named 'ALG_ZimTrade', configuring authentication methods, and setting up a Firestore database with example rules. Additionally, it mentions the importance of using the FlutterFire CLI for Firebase integration.

Uploaded by

Jahseh Meza
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Pre-requisites

Technical Prerequisites

1. Development Environment

Tool Requirement Installation Guide

[Link]/docs/get-started/
Flutter SDK v3.19+ (with Null Safety)
install

Firebase CLI Latest version npm install -g firebase-tools

Android Emulator for testing (Android API


[Link]/studio
Studio/Xcode 33+/iOS 15+)

FlutterFire CLI Essential for Firebase integration dart pub global activate flutterfire_cli

2. Firebase Project Setup


1. Create Firebase Project
 Console: [Link]
 Project Name: ALG_ZimTrade
Enable Google Analytics (for user tracking)

2. Configure Authentication

 Enable sign-in methods:


> Email/Password
> Phone (critical for Zimbabwe)
> Google Sign-In

Set up Firebase App Check for security


Firestore Database

 Create database in test mode initially


Collections: users, products, orders, inventory

# Example Firestore rules for prototyping

 service [Link] {
 match /databases/{database}/documents {
 match /{document=**} {
 allow read, write: if [Link] != null;
 }

}
}

Flatter Project Initialization

You might also like