[FirebaseAuth]: Reopen, Again (2): Emulator in development doesn't work after logged in / Loading use from session storage..
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- dart, firebase
- Lĩnh vực
- authentication
Hướng nghiên cứu
Start by reading the linked prior issues #11534 and #18689 and the fix in PR #18690, then trace the useAuthEmulator path mentioned here, especially the origin == emulatorOrigin check and its session-storage inputs. Reproduce on Flutter Web with the Auth emulator, reload after logging in, and check whether it connects to the emulator without clearing browser storage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing issue for this?
- I have searched the existing issues.
Which plugins are affected?
Auth
Which platforms are affected?
Web
Description
In the past I've created this issue: https://github.com/firebase/flutterfire/issues/11534 , which apparently the cause was this: https://github.com/firebase/flutterfire/issues/11233.
It then got re-opened, so I created this: https://github.com/firebase/flutterfire/issues/18689 , which was fixed by: https://github.com/firebase/flutterfire/pull/18690 . Sadly it's still an issue though. I verified in the changelog the fix should be in with the version I'm using:
FIX(auth,web): connect Auth emulator after reload when sessionStorage already has the origin (https://github.com/firebase/flutterfire/issues/18690). ([3740a2da](https://github.com/firebase/flutterfire/commit/3740a2da18d1b119fb897dd4f2c8951127f03ea6))
I have tested now and it reproduced, and while I was trying to talk to local emulators, it kept talking to prod. I could notice the following while debugging: The call to useAuthEmulator skipped due to the condition if (origin == emulatorOrigin) {, which evaluated to true.
Anyway after clearing storage data through browser "inspect" -> Application, it worked. so the problem has apparently re-surfaced.
Reproducing the issue
See previous issue - it's the same thing.
Firebase Core version
5.1.0
Flutter Version
3.47.2
Relevant Log Output
Flutter dependencies
Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
- Ngôn ngữ chính
- Dart
- Star
- 9.3k
- Fork
- 4.1k
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 73
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/flutterfire
-
Needs Attention type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
firebase/flutterfire#18894 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
platform: ios plugin: crashlytics
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
firebase/flutterfire#18887 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[cloud_firestore][Windows] transaction.get() after a transaction timeout uses a destroyed Transaction (Windows counterpart of #18666 / #18755)Có thể đã có người làm @SelaseKay đã nhận 5 ngày trước. Đang mởNeeds Attention platform: windows plugin: cloud_firestore reproduced type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
firebase/flutterfire#18883 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[firebase_messaging]: Android ANR during background service destruction — main thread blocked in releaseWakeLockCó thể đã có người làm @SelaseKay đã nhận 11 ngày trước. Đang mởNeeds Attention platform: android plugin: messaging reproduced type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
firebase/flutterfire#18866 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[firebase_storage] Windows native crash in upload progress callback, sink ownership and thread dispatchCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởblocked: flutter platform: windows plugin: storage reproduced type: bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
firebase/flutterfire#18664 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của firebase/flutterfire
Issue tương tự
-
[CarouselView] Crash (RangeError / ArgumentError) when children or itemCount is empty with infinite: true or CarouselController.animateToItemCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởp: material_ui package platform-android platform-ios platform-linux platform-macos platform-web team-design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
flutter/flutter#195878 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[genkit_google_genai] Gemini tool call with no arguments fails with "requires a non-null input"Có thể đã có người làm @kenzieschmoll đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
genkit-ai/genkit-dart#692 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lollipopkit/flutter_server_box#1851 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày