🚀 [firebase_crashlytics] Experimental (opt-in) Web support during Crashlytics web preview

Đang mở
#19,014 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
34/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter
Lĩnh vực
backend-api-design, mobile

Hướng nghiên cứu

Start by reading the existing firebase_crashlytics platform implementations and the Firebase JS SDK preview documentation linked in the issue. The issue names no source files or tests, so first map the plugin’s platform interface and web implementation patterns. Done means an opt-in experimental web path can report errors to the same Crashlytics project while respecting the preview limitations described here.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Needs Attention platform: web plugin: crashlytics type: enhancement

What feature would you like to see?

An experimental, opt-in Web implementation of firebase_crashlytics, so a single Flutter app can report errors from Android, iOS and web to the same Crashlytics dashboard.

Crashlytics for web is now available (preview) in the Firebase JS SDK:
https://firebase.google.com/docs/crashlytics/web/get-started

Not a duplicate of #18974

#18974 asked for web support and was closed until the web SDK is stable.
This request is different: it asks for an experimental implementation now, clearly flagged as preview (like the underlying JS SDK), for teams willing to accept instability in exchange for a single dashboard.
If that isn't an option, please consider reopening #18974 as a tracking issue instead.

Problem

Many teams ship one Flutter codebase to mobile and web. Because firebase_crashlytics doesn't support web, they have to:

  • add a second monitoring tool (Sentry, Datadog…) just for the web build,
  • maintain two integrations, two dashboards and two alerting setups,
  • write platform-specific code (if (kIsWeb) …) around error reporting,
  • or accept no visibility on web errors, which are then discovered through user complaints.

The web version is often used by business and back-office users, yet it ends up being the least monitored platform.

Out of scope / acceptable limitations
  • No stability or API guarantee while the web SDK is in preview.
  • No equivalent needed for native-only features.
  • Sampling and server-side collection settings stay managed in the Firebase console.
Why it matters

The Firebase JS SDK already provides the building blocks (getCrashlytics, recordError, flush). Flutter web is the only Firebase-supported platform without a Crashlytics path through FlutterFire, which pushes Flutter teams to third-party tools for that single platform.

Ngôn ngữ chính
Dart
Star
9.3k
Fork
4.1k
Merge trung bình
4 ngày 17 giờ
Pull request đã merge (30 ngày)
49

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/flutterfire

Tất cả issue của firebase/flutterfire

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.