> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/flutter-app/firebase.md).

# Firebase

## Android

* In the center of the [Firebase console's project overview page](https://console.firebase.google.com/), click the **Android** icon to launch the setup workflow. If you've already added an app to your Firebase project, click **Add app** to display the platform options.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg6n_doJV7evvG06LR%2F-MVhUCm4i-W4zt1wDxuV%2Fimage.png?alt=media\&token=93126e85-2e01-4f7e-bf4b-0f2fe591356a)

* On the next screen, enter your **Android package name** & **App nickname** and click on **Register App**. Your package name is generally the **`applicationId`** in your app-level **`build.gradle`** file. If specified, the app nickname will be used throughout the Firebase console to represent this app. Nicknames aren’t visible to users.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg6n_doJV7evvG06LR%2F-MVhUR3pQCGuNUoW8cWB%2Fimage.png?alt=media\&token=d6037208-362b-4d82-8e68-22d5ce5fd3a8)

* Download the **`google-services.json`** file & place it in your project’s **`app`** root directory. Make sure the config file is not appended with additional characters, like **`(2)`**.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg6n_doJV7evvG06LR%2F-MVhUe8OsqtkYsHtROT_%2Fimage.png?alt=media\&token=34427350-f7df-4938-82eb-3e502a8faba3)

* Back in the Firebase console-setup workflow, click **Next** to skip the remaining steps.
* Run **`flutter packages get`**

## **iOS**

Configure an iOS app:

* In the **Add an app to get started** section, click on **iOS** Icon to add an iOS app to Firebase.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg6n_doJV7evvG06LR%2F-MVhWmAlimxGzE2zhPx6%2Fimage.png?alt=media\&token=50ecc417-6c48-4cc9-943c-2d9c26fe4d66)

* On the next screen, enter your **iOS bundle ID** & **App nickname** and click on **Register App**. You can find your **Bundle Identifier** in the **General** tab for your app’s primary target in Xcode. If specified, the app nickname will be used throughout the Firebase console to represent this app. Nicknames aren’t visible to users.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MVg6n_doJV7evvG06LR%2F-MVhWtww9qWnNz3JoMaW%2Fimage.png?alt=media\&token=16833b79-c3ba-4e0c-91ec-1cc635c80591)

* Download the **`GoogleService-Info.plist`** file. Make sure the config file is not appended with additional characters, like **`(2)`**.
* Using XCode, move the file into the `Runner/Runner` directory of your Flutter app.
* Back in the Firebase console setup workflow, click **Next** to skip the remaining steps.
* Run **`flutter packages get`**
