-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Affects the master channel.
#132985 landed a new feature, but it doesn't work for macOS.
We should fix this and also update the recently restored device lab tests to test this behavior.
Repro.
- Use this project, https://github.com/andrewkolos/_flavors_test_world/tree/main/flavor_specific_assets, which is a Flutter project set up with flavors and flavor-conditional assets (see pubspec.yaml for configuration).
flutter run -d macos --flavor vanilla- App should launch. The app will display
vanillaas the flavor, but assets with the flavor ofvanilla(see pubspec) won't be included in the asset bundle.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team