build(config): delete orphaned assets instead of narrowing the manifest
#16 replaced the `assets/` wildcard with three explicit paths. That is correct today but makes the failure mode for a forgotten registration an `Unable to load asset` exception at runtime rather than at build time, which neither `flutter analyze` nor the build would catch. Restore the wildcard and delete the three files it was working around instead. All are unreferenced in tracked source: `logo.png` has no callers and no `flutter_launcher_icons` config, while `notification_icon.png` and `notification_banner.png` are stale copies of the real Android drawables in `android/app/src/main/res/`, which the notification reaches via `R.drawable.notification_status_icon` and never through the Flutter bundle. Same APK-size win, no hand-maintained list, and the dead files leave the repo. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019HT2x2JvJNg7XNsJubfHFf
This commit is contained in:
1 parent
74e522e982
commit
e818d54b0e
4 files changed
+1
-3
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 492 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 144 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB |
Reference in new issue
Block a user