Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.92 KB

RELEASING.md

File metadata and controls

52 lines (42 loc) · 1.92 KB

Releasing Flick

Two distribution channels, two flavors. Both use the same applicationId (com.mossapps.flick), so they are install-compatible; only the manifest differs.

Google Play

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 play flavor does not declare MANAGE_EXTERNAL_STORAGE. The All Files Access declaration no longer applies to this build — do not resubmit it. It was rejected twice (see DSD_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().

GitHub Releases

flutter build apk --flavor full --release
  • Output: build/app/outputs/apk/full/release/app-full-release.apk
  • The full flavor declares MANAGE_EXTERNAL_STORAGE and 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 .apk asset attached; releases without one are ignored. Upload the full APK before publishing.
  • Mark testing builds as a pre-release (GitHub flag and/or a -beta.N tag). 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 stable release is a tag without a semver pre-release suffix.

Checks before publishing

flutter analyze
flutter test

Both flavors ship from CI/one machine with ANDROID_NDK_HOME set — see ANDROID_NDK_SETUP.md.