New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to sign in with Google #25
Comments
More info:
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
async: ^2.4.2
auth: ^7.3.2
cloud_firestore: null
firebase_core: ^0.7.0
firebase_crashlytics: ^0.4.0+1
flutter_dotenv: ^3.1.0
google_sign_in: ^4.5.9
modal_progress_hud: ^0.1.3
dev_dependencies:
flutter_test:
sdk: flutter |
Just got in...reading your messages now. |
I'd recommend updating Dart to pubspec.yaml file: ( The dependencies I feel I didn't need, I commented out. )
Running under Android, I had to enable the Multi-Dex
Finally, while in the directory where the |
The issue is resolved now. There were a few things that might have contributed. https://github.com/hanskokx/Punk-Messenger/commit/2d4f78e433e643d706b6842c6cb9dced0d88eab9 Those are the commits with the changes I made. Now that I'm getting "proper" error messages from auth, I can at least confidently state that the problem doesn't appear to be related to the package. :) |
auth: ^7.3.2
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.804], locale en-US)
I'm unable to sign in with Google while using your example code. (To be fair,) I'm wedging it into my existing application.
The first thing I noticed was that this:
was telling me
The method 'init' isn't defined for the type 'Auth'
, which I thought was strange. So, I removed.init
, and moved on.Next, I plopped your code into my sign-in page.
The app compiles and runs, but when I tap the Sign In With Google button, I get the following error:
MissingPluginException(No implementation found for method init on channel plugins.flutter.io/google_sign_in)
I didn't have google_sign_in in my pubspec.yaml, so I added it thinking that might be the problem, but it hasn't helped.
Any suggestions?
The text was updated successfully, but these errors were encountered: