# Google Signin error

{% embed url="https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google" %}





Open the Firebase console and click on the settings icon.

You will see the list of the apps connected to your Firebase project

For Android

1. Open terminal inside your flutter project
2. `cd android`
3. `./gradlew signingReport` or `gradlew signingReport`
4. Paste your SHA1 key
5. Download and replace the `google-services.json`
6. `flutter clean`

IOS:

1. Configure your Firebase project
2. Select IOS
3. Enter your Bundle ID
4. Download credetials
5. Download and replace `GoogleService-info.plist`

Add this to your info.plist

```
<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>**INSERT HERE YOUR RESERVED_CLIENT_ID FROM GoogleService-Info.plist**</string>
        </array>
    </dict>
</array>
```
