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

# Android Configuration

## **Add App in Firebase**

click on the Android icon

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FiAwWdxGfUM2tYvypD3XZ%2FScreenshot%202024-09-24%20at%2010.50.33%20PM.png?alt=media&amp;token=7e5a2073-d0c3-49c4-83bf-a2704e89ffc5" alt=""><figcaption></figcaption></figure>

Add package name and nickname --> Click on ***Register app***

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FeBBrStylzpZRlN2ixteb%2FScreenshot%202024-09-23%20at%206.23.38%20PM.png?alt=media&amp;token=c092db6b-2329-4559-9e18-408a17f48396" alt=""><figcaption></figcaption></figure>

Download the `google-services.json` file and place it in the `{Project-Folder}/android/app/` directory. Once done, click the 'Next' button to complete the final step.

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2F0UCN79pYdGhhtInjNFYS%2FScreenshot%202024-09-23%20at%206.23.52%20PM.png?alt=media&amp;token=58854366-305b-4791-a39e-3a62abf218d9" alt=""><figcaption></figcaption></figure>

-> Click on the ***Continue to the console*** button

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FqXzmmXnq3zYOyGl16ab6%2FScreenshot%202024-09-23%20at%206.24.11%20PM.png?alt=media&amp;token=50b91c42-5e45-4961-aebc-33c9c4bfa30a" alt=""><figcaption></figcaption></figure>

Open the **google-services.json** file and fill in the values from it&#x20;

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FfqHr39pP0OMoHNiSgqUW%2FScreenshot%202024-09-23%20at%206.54.47%20PM.png?alt=media&amp;token=484d4737-56de-4c4d-8ad7-03ed8e38c8c5" alt=""><figcaption></figcaption></figure>

Change the package name as it on the firebase.

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FbLPs3PiVqgMFUhVYkTj6%2FScreenshot%202024-09-23%20at%201.41.58%20PM.png?alt=media&amp;token=e8d76441-23f8-47ab-a242-54e147fd5cfd" alt=""><figcaption></figcaption></figure>

Change the app name in the ***AndroidMenifest.xml*** file

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FjLwrDUGEcrgEi22WKBnE%2FScreenshot%202024-09-23%20at%206.53.16%20PM.png?alt=media&amp;token=e18f4a7e-7ca1-4c46-866f-53976555995a" alt=""><figcaption></figcaption></figure>

Add ***Admob App Id*** and the ***Google Map Key***

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2F47PBFChm3ROwWAtZYM5z%2FScreenshot%202024-09-23%20at%206.53.53%20PM.png?alt=media&amp;token=377d3fc0-dc29-4777-a48b-834175797006" alt=""><figcaption></figcaption></figure>

Change app name and add the ***Google Map Key***

The Storage bucket URL is located in the `google-services.json` and `firebase_options.dart` files. You can retrieve and add it from there.

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FZ8jgcOTUgwspST2oUa3U%2FScreenshot%202024-09-23%20at%207.00.02%20PM.png?alt=media&amp;token=c0325cce-c8cd-46d7-b136-2ae56376502b" alt=""><figcaption></figcaption></figure>

## Change App icon

Page actionsNow we need to put a png file with your icon named 'ic\_launcher.png' in the following folders:Comment

* res/drawable-mdpi - with a size of 48px x 48pxComment
* res/drawable-hdpi - with a size of 72px x 72pxComment
* res/drawable-xhdpi - with a size of 96px x 96pxComment
* res/drawable-xxhdpi - with a size of 144px x 144pxComment
* res/drawable-xxxhdpi - with a size of 192px x 192pxComment

this URL will help you resize your images or event create new icon to your app [Launcher Icon Generator](https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart\&foreground.clipart=android\&foreground.space.trim=1\&foreground.space.pad=0.25\&foreColor=rgba\(96%2C%20125%2C%20139%2C%200\)\&backColor=rgb\(68%2C%20138%2C%20255\)\&crop=0\&backgroundShape=square\&effects=none\&name=ic_launcher)​

Change App Icon through ***Android studio***

<figure><img src="https://2858744448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUHzld55Gxuktbk8iGXu%2Fuploads%2FPizqlTg83hoqiqUyY2Bo%2FScreenshot%202024-09-23%20at%206.50.43%20PM.png?alt=media&amp;token=7495dcdd-59b3-425c-ade9-036648788d29" alt=""><figcaption></figcaption></figure>

**Change splash app logo**

Go to `<app dir>`*/asstes/app\_log.png*

### Enable Admin Credentials

Run the Flutter app on an emulator or a real device, and sign up using an email and password. After signing up, enable the admin credentials by updating the relevant settings in the Firestore database.

[***Enable Admin Credentials***](/travix/admin-panel-setup/enable-admin-credentials.md)
