Check for modern web libraries to determine if an app is a web app
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
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).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez dans packages/devtools_app_shared/lib/src/service/connected_app.dart aux lignes 88-89, où l’application connectée est identifiée comme une application web. Suivez la vérification existante de dart:html et mettez à jour la condition afin qu’elle reconnaisse également package:web ou dart:js_interop, tout en conservant la prise en charge de dart:html. C’est terminé lorsque les applications utilisant l’une de ces bibliothèques sont détectées comme des applications web.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart
- Domaine
- tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Active
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 85/100