-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
The first time the web application is started, before the service worker is registered, the NOTICES file is downloaded. Since our application uses some packages, this file is 1.1 MB for us. However, the file is not needed here yet, right? We will use the showAboutDialog(...) function later to display the licenses of the packages. Wouldn't it be enough to download the file when it is needed? 1.1 MB is really a huge amount of data for a file that is not yet needed.
Why was the decision made to include the file here, so it is downloaded before the service worker is started?
Details
Target Platform: web
Target OS version/browser: chrome, firefox
Logs
Logs
``` ```[✓] Flutter (Channel master, 2.13.0-0.0.pre.526, on macOS 12.1 21C52 darwin-x64, locale de-DE)
• Flutter version 2.13.0-0.0.pre.526 at /Users/curvel/dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5fb74db (8 hours ago), 2022-04-13 02:44:07 -0400
• Engine revision e7020a6
• Dart version 2.18.0 (build 2.18.0-15.0.dev)
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/curvel/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
! CocoaPods 1.10.1 out of date (1.11.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.66.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 12.1 21C52 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.75
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
• No issues found!
