flutter / flutter/devtools

Check for modern web libraries to determine if an app is a web app

Offen Anfängerfreundlich
#9,973 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cleanup P1
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

We currently check for the presence of `dart:html` in the connected app to determine whether it is a web application.

https://github.com/flutter/devtools/blob/master/packages/devtools_app_shared/lib/src/service/connected_app.dart#L88-L89

We should make this an OR check with a `package:web` or `dart:js_interop` library. Leaving the dart:html condition we allow us to still support apps using dart:html (e.g. g3).

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start in packages/devtools_app_shared/lib/src/service/connected_app.dart at lines 88-89, where the connected app is identified as a web application. Trace the existing dart:html check and update the condition to also recognize package:web or dart:js_interop while preserving dart:html support. Done means apps using any of these libraries are detected as web apps.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Aktiv
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
85/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.