Closed Yuhyeon0516 closed 1 year ago
There were several complex problems.
GoogleSignin.configure() -> GoogleSignin.configure({WEB_CLIENT_ID}) WEB_CLIENT_ID exist in google-services.json
debug keystore setting with use "expo credentials:manager"
android/app
and modify in anroid/app/build.gradle
adb uninstall com.instagram
npx android prebuild & npm run android
if used react native cli, need creating keystore
run below command
sudo keytool -genkey -v -keystore debug.keystore -alias debug -keyalg RSA -keysize 2048 -validity 10000
created keystore move to ./android/app/
replace signingConfigs in ./android/app/build.gradle
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'debug'
keyPassword 'android'
}
}
keytool -list -v -keystore ./debug.keystore -alias debug -storepass android -keypass android
or
./gradlew signinReport
When proceeding with "GoogleSignin" in Android, IdToken is null and login is not possible.