Aman VPN
  • 1️⃣Introduction
    • Introduction to Aman VPN
    • Project Structure & Features
  • 2️⃣Installation
    • Introduction to Flutter
    • Tools & Setup
    • Android Studio – Windows​
    • Android Studio – macOS​​
    • Android Studio – Linux​​
  • 3️⃣GETTING STARTED (BUILD & RUN)
    • Build & Run
  • 4️⃣CONFIGURATION & CUSTOMIZATION
    • Changing Servers
    • Android Configuration
    • Firebase Configuration
    • Flutter Configuration
  • 5️⃣HELP & SUPPORT
    • Support
Powered by GitBook
On this page
  1. CONFIGURATION & CUSTOMIZATION

Firebase Configuration

PreviousAndroid ConfigurationNextFlutter Configuration

Last updated 2 years ago

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 to learn more about Firebase projects.

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.

Visit for more information on

Visit for more information on

Register your app with Firebase

  • In the center of the , click the Android icon to launch the setup workflow.

  • Enter your app's package name in the Android package name field.

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.

Follow the instruction for enabling Firebase services in your Android app

4️⃣
Understand Firebase Projects
how to setup for Android
how to setup for iOS
Firebase console's project overview page
here