Make sure you added the sha1 into the firebase project as a finger print. This is under projects settings in the firebase console.
You can generate the sha1 hash using the signingReport tool under gradle tools in android studio.
After that, download a new google services json and replace the old one you have locally in your project.
You may also need to check if you are providing the OAuth2 client ID when initially building the GoogleSignInOptions.
If you have a release on google play then, you’ll need to add additional hashes to the project which can be found in the google play console
I'm making an android app with expo and need to make a google-signin. I made the login system with GCP's
(Google Cloud Platform) Oauth 2.0 and now I'm trying to connect this login with Firebase to use the onAuthStateChanged function, but I can't get it to work (tried signInWithCredential). Is there any way to really do this connection or I'm just doing it wrong?