How I learned to use Firebase in Flutter

FLUTTER + FIREBASE

So I started learning how to use Firebase on November so as to have more focus on my Flutter App development, not necessarily thinking about how I would develop the back end. I stumbled upon FIREBASE.

Firebase gave me the opportunity to learn the most important things I need to know about applications back end, here is how I learned Firebase.

** Segmenting**

I segmented all the firebase products and features in four pages of my coding book,

  1. Develop 2) Grow 3) Quality 4) Analytics

I followed the steps in the firebase site for android https://firebase.google.com/docs/flutter/setup?platform=android and followed the steps, here are the steps in short

7 Simple Steps

  1. Go to the firebase site https://console.firebase.google.com and register your application whether ios or web or android.

  2. Download the google.JSON services file and add it to your app root directory.

  3. Then Add google Services plugin to your root gradle file, then also add gradle services plugin to your app level gradle file. this could be confusing at first but find the two gradle files to make sure you dont get confused.

  4. Click on pub.get to get the plugins in your app, then run the app to register and connect it successfully with firebase.

  5. This is the most interesting part, you would have to get the firecore package, this package https://pub.dev/packages/firebase_core/install is the core of all your firebase project, you have to install this package installing any other package you want to use in your flutter project.

  6. You can access all the firebase pub packages to add to your app after all the steps and installing firecore https://firebase.flutter.dev

  7. You have successfully learned how to add firebase to flutter, now control your app activities on the firebase console.

Thanks for taking out the time to read. please like and share