Skip to main content

flavorpilot 0.6.0 copy "flavorpilot: ^0.6.0" to clipboard
flavorpilot: ^0.6.0 copied to clipboard

A CLI tool that sets up and manages Flutter flavors in one place. Run, build, and release any flavor with a single short command.

0.6.0 #

  • remove now deletes everything for the flavor, including lib/main_<flavor>.dart and its .env file, even if they were edited. Its question warns about this and lists every file first. Only a signing key is kept.

0.5.1 #

  • Fix: running a command again no longer changes ios/Runner.xcodeproj. The Xcode objects flavorpilot adds now get the same ids every time, so Git only shows iOS changes when something really changed. The first run after updating changes the ids one last time.
  • Commands now list only the files they actually changed, and say "Everything was already up to date." when nothing changed. For example, signing no longer lists iOS files.

0.5.0 #

  • New remove command removes a flavor and everything flavorpilot created for it (Android and iOS setup, scheme, icons, IDE run configurations). It asks for confirmation first (--yes skips it) and keeps lib/main_<flavor>.dart and .env files that hold values.
  • New signing command sets up the Android signing key for release builds: one key for every flavor by default, or one per flavor (flavorpilot signing prod). It creates the key with keytool or uses an existing keystore (--keystore), keeps the key files out of Git, and never replaces a key. release stops if the key files are missing.

0.4.0 #

  • build and release accept --split-per-abi (shortcuts --split and -s) to make one APK per CPU architecture. release copies every split APK to dist/ with its architecture in the name.
  • .env files per flavor: init asks whether to create them, and the new dotenv command adds them to an existing setup. Each flavor's file is added to .gitignore and loaded automatically by run, build, release and the IDE run configurations. add creates one for the new flavor.
  • Fix: release now undoes the version change whenever the build doesn't finish, including when Flutter can't start or Ctrl+C is pressed.
  • Fix: a missing flutter shows a clear message instead of a stack trace.

0.3.0 #

  • init adds base_url and enable_logs with example values to every flavor, so AppFlavor.current.baseUrl works right away.
  • New env command adds the same settings to an existing setup, without changing values already there.
  • init, env, doctor and release warn about example values still in use.

0.2.0 #

  • env in flavorpilot.yaml: per-flavor settings like base_url, available in the app as AppFlavor.current.baseUrl.
  • icon in flavorpilot.yaml: a separate app icon per flavor on Android and iOS.
  • add asks for the value of each env key.
  • init --force warns that it replaces env values and icons.
  • Clearer init question about main files. Answering y now means one main file per flavor.

0.1.0 #

  • init: set up flavors for Android, iOS, Dart and IDEs.
  • add, sync and doctor to manage flavors after setup.
  • run, build and release shortcuts for any flavor or alias.
  • All file changes are applied together; nothing is written if a step fails.
2
likes
150
points
1.25k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool that sets up and manages Flutter flavors in one place. Run, build, and release any flavor with a single short command.

Repository (GitHub)
View/report issues

Topics

#flutter #flavors #cli #android #ios

License

MIT (license)

Dependencies

args, image, path, yaml

More

Packages that depend on flavorpilot