Comments (8)
the project name can be whatever you want.
what happens if you configure the sdk with only GoogleSignin.configure()
?
if you still get this internal error, please make sure the json file is correctly placed inside your directory. also check within the file that the package name matches yours.
last idea, also make sure the sha1 from the console is correct
from google-signin.
assuming your project is correctly configured, have you tried setting the email and project name in the Oauth consent screen
(Developers Console -> API Manager -> Credentials) ?
from google-signin.
Yep, there's an email and project name already there on the consent screen. Although, does the project name have to equal the package name? (Seems weird if it has to as the user would see that.)
from google-signin.
Yeah, tried the blank configure() call and that had same result.
JSON file I put under /android/app and the SHA1 matched too...kind of ran out of ideas, and switched to a WebView OAuth implementation instead. (Kind of a non-resolution, but, for better or worse it gets the job done.)
from google-signin.
well this is weird. if you can put up a public repo I can have a look.
also oauth webview support is something I had in mind for some times. would you care to share your code or do a PR ?
from google-signin.
Got it working by re-generating google-services.json. In my case i had to manually edit package name in this file at two places :P But it works now. Not sure if it is important, but i have removed the android/app/build folder and restarted the packager with --reset-cache and builded new....
from google-signin.
Assuming that you added a new SHA1 because you tried to do a build on another computer, you just need to regenerate the google-service.json because now you're setting a kind of auth on this build from that computer (that's the reason as I know), it works to me 👍
In addition you could try to do a rebuild, clear cache etc.
from google-signin.
Restart your mobile device or your simulator, then run the project again. this worked for me!
from google-signin.
Related Issues (20)
- Restore Flow typings for v12 HOT 2
- [Docs] iOS docs unusable for Expo HOT 2
- Support for react-native-macos HOT 2
- Compatible version for react native 0.61.5 HOT 1
- Mock not working in 12.1.0 HOT 10
- Google Signin Works on Emulator but not on Web HOT 1
- Free Sponsor Access for Early-Stage Startups? HOT 2
- Unable to install sponsored version HOT 1
- Terminating app due to uncaught exception 'NSInvalidArgumentException' HOT 2
- Is there any cache in this library? reversed_client_id doesn't change even if Info.plist changed HOT 1
- Prevent crashes on mobile web HOT 1
- "[app] wants additional access to your Google Account" on re-sign-in on iOS. HOT 6
- google sign in not working when using an actual mobile: tried two views with the same name RNGoogleSigninButton HOT 5
- Cannot get signIn() working with Supabase HOT 15
- Dependency conflict between React and React Native versions when installing @react-native-google-signin/google-signin package HOT 9
- Framework 'hermes' not found HOT 1
- java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference HOT 5
- RNGoogleSignin: failed to determine clientID - GoogleService-Info.plist was not found and iosClientld was not provided. HOT 4
- [expo] NSInvalidArgumentException: Your app is missing support for the following URL schemes HOT 8
- For android, you need to paste the **Web Client ID** instead of Android Client ID when configuring. Can you make sure if you are doing this thing correctly ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-signin.