> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/instahaul/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/instahaul/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://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/immdzxkc1sDvpn6uohjW/image.png)

* 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://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/M6Ea0jBifjZFBDRqhhWt/image.png)

* 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://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/OY0enHnaDqh4Q96ur8uW/image.png)

* 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://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/TKTP9pH4SBTk52QqyS6t/image.png)

* 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://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/hAmJX45IWwASeLzashgQ/image.png)

* 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`**
