flutter_spm_doctor 0.2.0
flutter_spm_doctor: ^0.2.0 copied to clipboard
Flutter migration doctor — checks plugin dependencies for Swift Package Manager, UIScene lifecycle, and Android 16KB page-size alignment readiness.
0.2.0 #
- Restructured the CLI around subcommands:
spm,uiscene,android16kb, andall. Runningflutter_spm_doctorwith no subcommand still runs thespmcheck, exactly as before — existing scripts and CI configs continue to work unchanged. - Added the
uiscenecheck: best-effort, source-scan based detection of whether a plugin hooks into iOSAppDelegatelifecycle events and whether it has adoptedFlutterSceneLifeCycleDelegate. Heuristic and intentionally conservative — ambiguous cases are flagged for manual review rather than marked as passing. - Added the
android16kbcheck: scans direct and transitive Android plugin dependencies for 16KB native-library page-size alignment compliance (required for Android 15+ devices since November 2025). Supports inspecting real.sofiles via--apk/--aab(pure-Dart ELF program header parsing), with a bundledknown_16kb_status.jsonfallback list. - Added the
allsubcommand, which runs all three checks and prints a sectioned report;--jsonproduces one combined object withspm,uiscene, andandroid16kbkeys. --json,--fail-on-unsupported,--ignore, and--github-tokennow work per-subcommand where relevant.
0.1.3 #
- Fix repository URL and history.
0.1.1 #
0.1.0 #
- Initial release.
- Parse
pubspec.lockandpubspec.yamlto extract iOS/macOS dependencies. - Tiered SPM support detection: GitHub repo check, known local status list.
- Formatted console table output and JSON output mode.
- Generate GitHub issue template for unsupported plugins.