Member-only story

Firebase Authentication Services in Flutter

Anmol Gupta
6 min readApr 10, 2022

--

Introduction

In this blog, we shall learn about how we can connect our flutter app with firebase and implement authentication using firebase, we shall also learn how we can handle the errors on failure events.

Connect the flutter app with firebase:

  • The first step is to create a firebase project
  • Creating your firebase project you will land up on this screen, and click on the android icon.
Figure:1 Firebase dashboard

After clicking on the android icon, you will land upon the below screen:

  • Enter your package name, which you can find in your app-level build.gradle file inside defaultConfig in applicationId , paste it and click on the Register App button.
Figure:2 Add package name and click on register app
  • Download the google-services.json file and add this file inside the app src folder.

--

--

No responses yet