Keir Finlow-Bates
1 min readSep 18, 2024

--

Thank you. This is the only tutorial I've found on using Google sign in with react native expo that worked (and I've been through a lot).

I did get an error: RNGoogleSignIn: `androidClientId` is not a valid configuration parameter, please remove it.

But deleting the androidClientId field from the GoogleSignin.configure got rid of that, and deleting the Android credential from the project in the Google console didn't seem to make any difference to it working. So it looks at first sight that you only need a webClientId for Android (which is weird, because I thought Google were obsessive about ensuring that signature hashes were included in Android apps - perhaps it won't work on non-dev builds, but I'll have to check that later).

Anyway, I got the correct "data" (idToken, severAuthCode, user email, familyName, givenName, id, name, and photo, with a type success) so I'm very happy.

The key aspect appears to be using Firebase. Without that, @react-native-google-signin just won't work.

Shokran, Muhammad.

--

--

Keir Finlow-Bates
Keir Finlow-Bates

Written by Keir Finlow-Bates

I walk through the woods talking about blockchain

No responses yet