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

前端 未结 8 853
温柔的废话
温柔的废话 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:41

    In my case:

    If you are using Google Play App Signing, just login into Firebase go into "project settings"->"integration" and press a button to link Google Play with firebase, SHA-1 will be added automatically. Download and change your new google-services.json

    If you keep having problems, go to Google Cloud API, click on the hamburger icon on the top left -> APIs and Services -> Credentials. Choose the API Key that you're using. Under restrictions, select "None".

提交回复
热议问题