Docly Child

Firebase Configuration

Estimated reading: 2 minutes

Create a Firebase project

Before you can add Firebase to your Flutter app, you need to create a Firebase project to connect to your app. Visit Understand Firebase Projects to learn more about Firebase projects.

Important:

If you’re releasing your Flutter app on both iOS and Android, register both the iOS and Android versions of your app with the same Firebase project.

You have to Register firebase Web app too.

Visit for more information on how to setup for Android
Visit for more information on how to setup for iOS
Visit for more information on how to setup for Web App

Register your app with Firebase

Important:

Make sure that you enter the ID that your app is actually using. You cannot add or modify this value after you register your app with your Firebase project. Both applicationId should be matched.

  • Click Register app.
Add a Firebase configuration file
  • Click Download google-services.json to obtain your Firebase Android config file (google-services.json).
  • Move your config file into the android/app directory of your Flutter app.

Firebase Hosting

You can follow this documentation for Hosting project. 

Click here to view Documentation

 

Leave a Comment

Share this Doc
CONTENTS