Add Firebase to Flutter on Windows

Step 1: Install Firebase CLI

  • Firstly, we will have to install Node.js. Visit this website and download the LTS version. Follow the installation process and don't make any changes. Ensure that nodejs folder is installed in this directory (C:\Program Files\nodejs).
  • After installation, we will have to add a few things to our Path. Go to Environment Variables and add these two directories to your Path.
  1. C:\Program Files\nodejs
  2. C:\Users\{Your_Username}\AppData\Roaming\npm
  • Next, Install the Firebase CLI via npm by running the following command:
     > npm install -g firebase-tools
  • Log into Firebase using google account. Run this command:
> firebase login
  • Install FlutterFire CLI:
dart pub global activate flutterfire_cli

Step 2: Configure your apps to use Firebase

Key things to setup Firebase for android app

--

--

--

Machine Learning. CNN. Computer Vision. Looking to share simple and in-depth tutorials with the world! Sharing knowledge to help kick-start people’s interest!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Space Elements in Bootstrap 4 Without Custom Classes

Finding the Right Delivery Framework for Your Software Teams | Capital One

Have a fun with just one line of code

new Easter eggs

Monitoring Airflow Metrics with Grafana

Soracom Santa returns! A stocking full of new features for the holiday

Preventing Bot Attacks on WordPress using No Captcha reCaptcha

How to Build a Data Breach Checker With Nuxt.js and Axios

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aryan Vij

Aryan Vij

Machine Learning. CNN. Computer Vision. Looking to share simple and in-depth tutorials with the world! Sharing knowledge to help kick-start people’s interest!

More from Medium

Integrating Fidel API with Flutter

Rendering Beautiful math equations in flutter.

Building a toggle-theme switch button in Flutter to toggle between dark & light mode

Flutter Widgets Explain :