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

未关闭
#19,014 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
34/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
dart, flutter

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Dart
星标
9.3k
派生
4.1k
平均合并
4 天 17 小时
30 天内合并 PR
49

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

firebase/flutterfire 的其他 Issue

查看 firebase/flutterfire 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。