Firebase UI authentication with google fails with message (code:10 message:10)

后端 未结 3 624
囚心锁ツ
囚心锁ツ 2020-11-22 06:10

I\'ve made a chat app that uses Firebase\'s feature Real-time database. I face a problem with google authentication. The problem started when I downloaded the a

3条回答
  •  无人及你
    2020-11-22 07:09

    After generating SHA1 for release key, I forgot downloading the new google-service.json file that caused the same error.

    Make sure you follow the instruction https://developers.google.com/android/guides/client-auth to generate and add debug/release SHA1 to firebase console and download google-service.json after updated.

    If you use Use app signing by Google Play option, you need an additional step:

    After uploading app into google play console, go to Release management > App signing, copy SHA1 and paste to firebase console

提交回复
热议问题