Firebase Auth: Requests from this Android client application com.xxx are blocked

前端 未结 8 1039
温柔的废话
温柔的废话 2021-02-05 12:08

I\'m implementing the standard tutorial for Firebase AuthUI in my android app. However, when testing I try to sign-in using Google sign-in from within the app and get the follow

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 12:52

    If you are published app to google play store and then show this error:

    [ Requests from this Android client application com.x.x are blocked. ]
    

    Here a solution to solve your problem very easily.

    1. Open google play console -> https://play.google.com/apps/publish
    2. Got to your specific app which app show error.
    3. Then go Setup -> App signin
    4. And finally you got your SHA-1 certificate fingerprint

    To find your SHA-1 certificate fingerprint, go to console.cloud.google.com/apis/credentials?project. Or go to the console.cloud.google.com -> Click on the hamburger icon on the top left -> APIs and Services -> Credentials. And change your all SHA-1 certificate fingerprint.

提交回复
热议问题