I have been trying to setup Google Authentication since yesterday, as specified in Expo’s official docs (using react-native-google-signin library). However, I was getting error code 10 (developer error). After going through the official debugging steps, and running ./gradlew signingReport
I noticed that the Signing keys that show up (SHA1 and SHA256) were different than my signing keys managed by eas (eas credentials). After I added the SHA1 I got from that command to Firebase console, redownloaded google-services.json
, and rebuilt the app with npx expo run:android
, it started working with no errors.
Although I’m happy I got auth working, I’m rather confused as to why the dev signing keys I got from the gradlew
command were different from the ones from eas credentials. Does anyone have any idea why that is?