RNGoogleSignin: failed to determine clientID - GoogleService-Info.plist was not found and iosClientld was not provided.
Closed this issue ยท 4 comments
Expected Behavior
With no error while building?
Actual Behavior
I have already specified the path in the app.json and imported the file to the root, also with the correct configured clientID just copied from Firebase in my code, but this error exists. Can anyone please help me find out why?
Here are my configurations for app.json and webclientid:
"ios": {
"bundleIdentifier": "xxxx",
"supportsTablet": true,
"buildNumber": "1",
"googleServicesFile": "./GoogleService-Info.plist"
},
"android": {
"package": "xxxx",
"googleServicesFile": "./google-services.json"
},
useEffect(() => {
GoogleSignin.configure({
webClientId:
"93476975143-09ikj8c72gtt984oodnf3ngm3gq1ntm4.apps.googleusercontent.com",
});
}, []);
Environment
- react-native version: "0.74.2"
- @react-native-google-signin/google-signin version: "^12.2.1",
Hitting the same error, any luck finding a fix?
Same error, any ideas?
useEffect(() => { GoogleSignin.configure({ webClientId: "93476975143-09ikj8c72gtt984oodnf3ngm3gq1ntm4.apps.googleusercontent.com", }); }, []);
Try to change webClientId
to iosClientId
Hello and thanks for reporting,
As the error message explains, look at the integration docs: https://react-native-google-signin.github.io/docs/setting-up/expo
If this doesn't help, please create a Minimal, Reproducible Example that we can see the issue with. The most effective reproducible examples are created by starting a new project from scratch and adding in only the necessary pieces to reproduce the issue. Then open a new issue with the repro example.
Without this, the problem is not actionable.
Thank you ๐