-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: merge-to-stableCherry-picks that should be merged to stableCherry-picks that should be merged to stablecp: reviewCherry-picks in the review queueCherry-picks in the review queue
Description
issue_link
Commit Hash
Target
stable
pr_link
Impacted Users
All Flutter devs
Impact Description
Increased app bundle size from bundling assets that aren't used.
Workaround
Yes. Delete (or move) unused that exist within subdirectories of asset directories.
Risk
low
Test Coverage
yes
Validation Steps
- Download this repro project.
- Build the app with
flutter build apk --split-per-abi. - Decompress any of the output apk files. Check the
assets/flutter_assets/assetsdirectory and make sure there is no directory namedunused. Only two image files in total should be found underassets/flutter_assets. See the issue for more context.
Metadata
Metadata
Assignees
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: merge-to-stableCherry-picks that should be merged to stableCherry-picks that should be merged to stablecp: reviewCherry-picks in the review queueCherry-picks in the review queue