-
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] Cannot read properties of undefined (reading 'some') on browser re-open #9432
Comments
Nevermind, I think it happens only in Chrome browser started by Flutter. Anyone else noticed this behavior? |
Thanks for the report @dmi3coder. Per your comment, since this is only happening in chrome and not other browsers, it may not likely be a firebase_auth issue. There's a similar issue open in web-js sdk github that you can refer and see if it helps: firebase/firebase-js-sdk#6445 |
I have the same issue with below error and as a result there is no connections to Firebase with a blank screen. I have a clean flutter doctor. Other browsers also give the same error for my case. |
+1 It happens both on Chrome and on Safari and not only with firebase_auth:
Using:
|
I added
and it compiles and seems to work. I'm fully aware this is not a stable and viable solution |
Hey @dmi3coder. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @dmi3coder if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Bug report
Describe the bug
After authorisation, if a user re-opens the browser, an exception is thrown.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
User should be returned when any of the firebase functions(to get a user) are called.
Sample project
https://github.com/dmi3coder/flutter_firebase_web_auth_bug
Additional context
Stacktrace:
Click To Expand
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: