plumb 0.1.0
plumb: ^0.1.0 copied to clipboard
Native config for Flutter™. `plumb doctor` checks your app's Info.plist, entitlements and AndroidManifest against what its plugins' docs require. Read-only.
Changelog #
0.1.0 #
Fewer false alarms, based on running plumb on popular open-source Flutter apps.
- image_picker: a missing
NSCameraUsageDescriptionis now ℹ ("needed if you useImageSource.camera") instead of ✗. Apps that only pick from the gallery don't need it. - camera: a missing
NSMicrophoneUsageDescriptionis now ℹ ("needed unless everyCameraControllerusesenableAudio: false") instead of ✗. - README: what to do when the
plumbcommand is not found (common on Windows), running it withdart pub global run plumb doctor, and the dev_dependency option (flutter pub add --dev plumb+dart run plumb doctor). - README: how to update,
actions/checkoutin the CI example, and wording that matches Apple's docs on missing purpose strings ("can crash", with a link). - README screenshot and JSON example updated to the new output.
- Releases are now published from GitHub Actions when a version tag is pushed.
Updating: dart pub global activate plumb. As a dev dependency, ^0.0.1 only
allows 0.0.1, so run flutter pub upgrade --major-versions plumb once. From
^0.1.0 on, later 0.1.x fixes arrive with a normal flutter pub upgrade, which
is why this release is 0.1.0 rather than 0.0.2.
0.0.1 #
First release: plumb doctor, a read-only check of native config.
- Checks
ios/Runner/Info.plist,ios/Runner/*.entitlementsandandroid/app/src/main/AndroidManifest.xml(plus the launcher activity's base class) against bundled recipes. - Recipes for 10 plugins, each written from the plugin's own docs and cited: camera, firebase_messaging, flutter_local_notifications, geolocator, google_maps_flutter, image_picker, local_auth, permission_handler, sign_in_with_apple, url_launcher.
- Flags placeholder purpose strings (empty,
TODO,your … here…) in every*UsageDescription, with or without a recipe. - Text output,
--json(format 1),--strict,--verbose,--[no-]color(respectsNO_COLOR). - Exit codes: 0 ok, 1
--strictfindings, 2 incomplete check, 64 usage error. - Never writes to the project it checks.
