Skip to content

Update the file read of the Flutter version file to check for the new format#8466

Merged
jwren merged 1 commit into
flutter:mainfrom
jwren:8465_version_file_format
Aug 16, 2025
Merged

Update the file read of the Flutter version file to check for the new format#8466
jwren merged 1 commit into
flutter:mainfrom
jwren:8465_version_file_format

Conversation

@jwren
Copy link
Copy Markdown
Member

@jwren jwren commented Aug 15, 2025

This resolves #8465

@jwren jwren added this to the M88 milestone Aug 15, 2025
@jwren jwren requested review from helin24, matanlurey and pq August 15, 2025 20:54
@jwren jwren self-assigned this Aug 15, 2025
@jwren jwren merged commit 65d5044 into flutter:main Aug 16, 2025
11 of 12 checks passed
final Map<String, Object> json = new Gson().fromJson(data, new TypeToken<Map<String, Object>>() {
}.getType());
if (json != null && json.containsKey("frameworkVersion")) {
System.out.println("FlutterSdkVersion.readVersionString NEW " + json.get("frameworkVersion"));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you intend to have a System.out here?

If so, maybe add a comment so it doesn't get mistaken for debugging code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version file change in the Flutter SDK

2 participants