Firebase Auth Ui Google Sign In Code:10, message:10:

前端 未结 6 1781
死守一世寂寞
死守一世寂寞 2020-12-28 14:43

Firebase Auth Ui Google Sign In Code:10, message:10:

I use firebase auth-ui to sign in with google,

it toasted

Code:10, message:10:

6条回答
  •  孤城傲影
    2020-12-28 15:29

    These tips have worked for me :

    1 - Verify your SHA-1 key is still corresponding between your app and firebase : you can generate this SHA key as @Yuliiia mentionned with the command line but you can also do it directly from you android studio project. Click on "Gradle" tab (on the right of the IDE) then drop-down android folder and double-click on "signingReport".

    2 - Go to your firebase console, download a new version of the google-services.json file and replace the former one by it.

    3 - Last trick : delete the account (e.g: testemail@gmail.com) you're trying to connect with from the firebase authentication console.

    Note 1: For each solution above I suggest to uninstall the app from your emulator or mobile.

    Note 2: Error code from firebase is not only code:10, it could throw code: 8, code: 16, etc.

    Hope it helps !

提交回复
热议问题