flutter / flutter/devtools

Warn users at DevTools startup for Flutter version incompatibility

Đang mở
#4,734 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
P3
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.