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] TypeError: Cannot read properties of undefined (reading 'settings') #9097
Comments
I got the same issue after upgraded flutter and pub. It worked properly before. Flutter doctor: pub: |
@shovelmn12 @HoaLebao Try below solutions and see if they work for you: |
I am not sure if your solution works because I didn't declare Js files in the index.html. What I did is to roll back to previous version of firebase packages in the pubspec.yaml and it is working properly again. Pub: |
@darshankawar We're also facing problems after updating to |
I tried importing v8.10.0 v8.10.1 and v9.9.0 none of them worked |
I have the same problem. firebase_core: ^1.19.2 [✓] Flutter (Channel stable, 3.0.3, on macOS 12.4 21F79 darwin-arm, locale en-IN) |
I have the same problem after upgrading to firebase_auth: 3.4.2 The combination that was working before upgrading: Package Name Current Upgradable Resolvable Latest direct dependencies: Doctor summary (to see all details, run flutter doctor -v): |
Thanks for the update. Using firebase_auth plugin example and running on latest master
console error log
|
I took a look at this and reproduced on the web JS SDK. See here: firebase/firebase-js-sdk#6445 Will update this channel once I receive feedback 👍 |
Same issue i am facing |
Hey folks, this issue has now been resolved. We needed to pass in auth instance to |
Thanks for the update, waiting for it:) |
|
firebase_auth 3.5.0 published, works great :) |
This type of things should not be caught by the community, it should be caught by integration tests. I understand bugs passing through but not a core feature like this. |
Flutter (Channel stable, 2.10.3, on Mac OS X 10.15.7 19H1419 darwin-x64,locale en-US) |
Is anyone else unauthenticated after hot restart with the fix ? |
Yeah... hard week for the firebase auth team, another big bug... |
Bug report
Describe the bug
Was working before I upgraded to latest version
Steps to reproduce
Steps to reproduce the behavior:
need to test will update with code later
Expected behavior
User authenticates using phone number
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
Additional context
My code:
I also tried without
RecaptchaVerifier()
parameterhtml scripts:
I also run init from dart code:
Full error:
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: