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

Aperta
#19,014 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
34/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Dart
Stelle
9.3k
Fork
4.1k
Merge medio
4g 17h
PR unite (30g)
49

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/flutterfire

Tutte le issue di firebase/flutterfire

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.