Warn users at DevTools startup for Flutter version incompatibility
- Lenguaje dominante
- Dart
- Estrellas
- 1.7k
- Forks
- 404
- Merge medio
- 6 d 17 h
- PR fusionados (30 d)
- 18
Descripción
From @jacob314:
> One thing we might want to do is actively fail at startup if you happen to use DevTools with an incompatible version of Flutter. That could happen if someone launched DevTools from one Flutter SDK and connected to a Flutter app from a different Flutter SDK. With this and similar changes we will start mysteriously failing when this happens. Users will assume DevTools is flaky rather than understanding they used an incompatible Flutter unless we warn them.
For this, we will need a way to grab the flutter version that DevTools was built with. We no longer have a flutter-version.txt file, so we will need a different solution to get this information.
Guía de contribución
Línea de trabajo
Comienza localizando el manejo del inicio de DevTools y el código que se conecta a una aplicación Flutter; después, investiga cómo obtener la versión de Flutter utilizada para compilar DevTools sin flutter-version.txt. Se considerará terminado cuando se detecte un Flutter SDK incompatible al iniciar y los usuarios reciban una advertencia clara que explique la incompatibilidad.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, devtools, flutter
- Área
- devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100