# Login Google

## How to config Application on Firebase console

1. Go to <https://console.firebase.google.com/> and create your application
2. Choose add app with `iOS and android platform`. Fill info
3. After done, you need down 2 file:

* iOS: `GoogleService-Info.plist`
* android: `google-services.json`

&#x20;   4\. In android, you need move it to `android/app/`

![](https://3309432529-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Wv-V9WSwhK3zwcNBL%2F-M5fCb0VGvsJ2d0-_JQm%2F-M5fNqkbyCXzVCFtBByt%2FScreen%20Shot%202020-04-24%20at%2015.52.18.png?alt=media\&token=b848d4ec-e86f-4c51-b030-c4bfdc383a1d)

&#x20;   5\. In iOS, follow step by step:

* You need open xcode and move it to project.

![](https://3309432529-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Wv-V9WSwhK3zwcNBL%2F-M5fCb0VGvsJ2d0-_JQm%2F-M5fNwppkDBqP7dM41lm%2FScreen%20Shot%202020-04-24%20at%2015.45.03.png?alt=media\&token=f73c2506-e190-4f52-bbf5-590b3ceaeff2)

* Open file `GoogleService-Info.plist` and copy `CLIENT_ID` code and `REVERSED_CLIENT_ID` code.

![](https://3309432529-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Wv-V9WSwhK3zwcNBL%2F-M5fCb0VGvsJ2d0-_JQm%2F-M5fOBxiKVw6jcc30n76%2FScreen%20Shot%202020-04-24%20at%2015.53.53.png?alt=media\&token=19fa2cba-522c-4b49-8240-9ac235750d8f)

* Open `index.js` from `src/config/index.js`.
* In Configs, replace `iosClientId` with `CLIENT_ID`.

![](https://3309432529-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4Wv-V9WSwhK3zwcNBL%2F-M5fCb0VGvsJ2d0-_JQm%2F-M5fORP9bIii095VCo6s%2FScreen%20Shot%202020-04-24%20at%2015.54.59.png?alt=media\&token=9a69a105-4dcd-4fa1-b096-dee8f92f20fd)

* In `ios/nameapp/info.plist`, replace `com.googleusercontent.apps.793140404870-qura0p54rgptruvbs109bq5itf4qkmf6` with `REVERSED_CLIENT_ID`.
