The application interacts with Firebase and google services, respectively there is a file google-services.json. I guess the problem is with her. In particular, the error pops up after attempting to authenticate via a mobile phone (sending SMS with a code to a phone number). Further, the error code itself:
07-04 13:21:07.292 2872-12688/? E/Volley: [1511] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode?alt=proto&key=AIzaSyC1Uz6ATRtZx_en5cR1o5VNnsVpyy0IDyE 07-04 13:13:15.610 2872-12304/? I/AuthChimeraService: Error description received from server: The Android package name and signing-certificate fingerprint, my.project.faq.findme and DAF5B744BA643591947DA26B2FBBEA8768D664E9, do not match the app restrictions configured on your API key. Please use the API Console to update your key restrictions. When I try to add restrictions to google api console (Android application), I get the following error:
07-04 13:13:15.610 2872-12685/? E/Volley: [1508] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode?alt=proto&key=AIzaSyC1Uz6ATRtZx_en5cR1o5VNnsVpyy0IDyE 07-04 13:13:15.610 2872-12304/? I/AuthChimeraService: Error description received from server: The Android package name and signing-certificate fingerprint, my.project.faq.findme and DAF5B744BA643591947DA26B2FBBEA8768D664E9, do not match the app restrictions configured on your API key. Please use the API Console to update your key restrictions. Perhaps adding a limit to google api consol, should you also edit the google-services.json file itself? Or am I thinking in the wrong direction? I repeat: the application works stably when launched with Android Studio. Unfortunately, I did not find any information on this issue. Any idea how to fix this?