google-signin: Crashing in IOS while signing into google without giving any failure response or error back to the user (for showing custom alert to the end user)
I have searched open and closed issues for this issue.
- I have searched open and closed issues.
This is not a bug report for DEVELOPER_ERROR
- I have read the troubleshooting guide
Minimal reproducible example
https://github.com/saikrishna124/googlesigin/tree/main
What platform(s) does this occur on?
iOS
Summary
await GoogleSignin.signIn()
.then((user) => {
console.log("success",user)
})
.catch((err) => {
console.log("userInfo",err) }
Your computer environment
macbook
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 17
I realise my mistake in the setup.
While I do have Firebase integrated with my Expo project, I am NOT using the Firebase authentication (and I don’t want to use it). Hence, I should have used the integration without Firebase as per the documentation.
As per @Marcados comment, on top of adding
iosUrlSchemein expo app.config as per the documentation, we also need to set theiosClientIdin our react native code:Hello guys, please try https://github.com/react-native-google-signin/google-signin/releases/tag/v13.1.0 and let me know if that helps.