-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_auth]: platformExceptionToFirebaseAuthException throws TypeErrors #16971
Comments
Hi @stx, I'm unable to reproduce this issue. Could you provide a complete minimal code that reproduces this? |
There is no Flutter code to reproduce the Google-side error. These are production issues coming in from a large app so we're not sure what the triggering error is on the Google account. |
Hello, without reproducible code, we are not going to be able to help you. Check the demo code to see if you can find the issue in your code: |
@Lyokone how can a mishandled type in an internal exception in a plugin be an "issue with my code"? |
The fact that we cannot reproduce it makes me think you might be misusing the plugin. I would love to improve our error handling, but the first step is for you to provide a reproducible sample. |
The code to reproduce the issue is in the original post. |
@stx A reproducible sample is a complete GitHub repo I can just clone and start on my end. A one-liner isn't a complete reproducible sample. |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
platformExceptionToFirebaseAuthException appears to be missing some handling:
Reproducing the issue
FirebaseAuth.instance.signInWithProvider(GoogleAuthProvider())
Exact triggering error from Google is unknown.
Firebase Core version
3.10.0
Flutter Version
3.27.1
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: