DigitalHR (Flutter)
  • Welcome
  • Flutter Setup
    • Installing Android Studio
    • Installing Flutter SDK
    • Import Project
    • Updating local.properties file
    • Configuring Firebase
    • Change Application Package Name
    • Change App Name
    • Server URL
    • App Logo
    • Change App Colors
    • Strings
    • Image Assets
    • App Font
  • Notification Sound
  • Publishing the App
    • Build and release android app
    • Build and release an iOS app
  • Admin Panel
    • Requirements
    • Database setup
    • Import and deploy
    • Change Time Zone
    • Setup cron job
    • Setup Firebase
  • Rate and support
  • Change Log
    • Version 8.0 Backend
    • Version 7.0 Flutter
  • Migrate from older version
    • Backend Migration
      • Roles and Permission
      • Version 10.0 to 11.0
    • Flutter Migration
      • Version 7.0 to 8.0
  • FAQ
Powered by GitBook
On this page
  1. Flutter Setup

Configuring Firebase

PreviousUpdating local.properties fileNextChange Application Package Name

Last updated 6 months ago

Before you do step change the package name, you must do this step for firebase project configuration

Vist Firebase console:

Please register or log in first and then select create new project. In the dialog window enter the name of the project that will be created and the contents of the state and then click the create project to continue.

1) Add a new project

2) Get started by adding firebase to your project. Select the flutter icon.

3) The easiest way to get you started is to use the FlutterFire CLI.

Before you continue, make sure to:

  • Create a Flutter project (run flutter create)

4) In firebase CLI Install standalone binary and npm

5) Log in and test the Firebase CLI

firebase login
firebase projects:list

6) Install and run the FlutterFire CLI

7) Initialize firebase

8) For firestore database setup see the clip below:

9) Next go to the firestore database -> 'Rules' tab and replace the code with the following snippet:

rules_version = '2';

service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if true;
    }
  }
}

10) Once this is completed Please repeat step 5 and 6.

Install the and log in (run firebase login)

Firebase CLI
https://console.firebase.google.com
- YouTube
firebase console
Logo