Unhandled Exception: PlatformException(sign_in_fai

2020-02-15 08:44发布

问题:

Before mark it as duplicate please read the question.

I have set both SHA1 and SHA256 in my google console.

I have tried many way but still facing error.

Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

Also tried with Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) and other so many.

Where I'm still missing ?

回答1:

A lot can go wrong and I struggled for a very long time to fix this issue. My fix was that I needed to select the support email address in the settings of my firebase project.

Good luck

Johan



回答2:

you can try to do a flutter clean to rebuild from 0 the project. It works for me.