Two distribution channels, two flavors. Both use the same applicationId
(com.mossapps.flick), so they are install-compatible; only the manifest
differs.
flutter build appbundle --flavor play --release- Output:
build/app/outputs/bundle/playRelease/app-play-release.aab - Upload the bundle and bump the version code (current:
0.23.3-beta.5+34). - The
playflavor does not declareMANAGE_EXTERNAL_STORAGE. The All Files Access declaration no longer applies to this build — do not resubmit it. It was rejected twice (seeDSD_SCAN_ALL_FILES_PLAN.md); retrying risks escalating enforcement. - Play builds silently use the scoped MediaStore/SAF scan path. The Full
Library Access row is hidden at runtime by
isAllFilesAccessSupported().
flutter build apk --flavor full --release- Output:
build/app/outputs/apk/full/release/app-full-release.apk - The
fullflavor declaresMANAGE_EXTERNAL_STORAGEand keeps the Rust direct-walk scanner for complete DSD/WavPack coverage (android/app/src/full/AndroidManifest.xml). - Attach the APK to the GitHub release. The in-app update checker only
offers a release that has an
.apkasset attached; releases without one are ignored. Upload thefullAPK before publishing. - Mark testing builds as a pre-release (GitHub flag and/or a
-beta.Ntag). Flick treats semver pre-release tags as beta even when the GitHub flag is off. - Users choose Stable, Pre-releases, or both under
Settings → App Info → Update Channel. Stable releases are the default;
beta notices are opt-in. A
stablerelease is a tag without a semver pre-release suffix.
flutter analyze
flutter testBoth flavors ship from CI/one machine with ANDROID_NDK_HOME set — see
ANDROID_NDK_SETUP.md.