flutter_distributor 0.1.5 copy "flutter_distributor: ^0.1.5" to clipboard
flutter_distributor: ^0.1.5 copied to clipboard

outdated

A complete tool for packaging and publishing your Flutter apps.

flutter_distributor #

pub version melos

A complete tool for packaging and publishing your Flutter apps.


English | 简体中文


Documentation #

The full documentation can be found on distributor.leanflutter.org.

Features #

These are the available packages in this repository.

Getting Started #

Installation #

dart pub global activate flutter_distributor

Usage #

Add distribute_options.yaml to your project root directory.

env:
  PGYER_API_KEY: 'your api key'
output: dist/
releases:
  - name: dev
    jobs:
      # Build and publish your apk pkg to pgyer
      - name: release-dev-android
        package:
          platform: android
          target: apk
          build_args:
            target-platform: android-arm,android-arm64
            dart-define:
              APP_ENV: dev
        publish_to: pgyer
      # Build and publish your ipa pkg to pgyer
      - name: release-dev-ios
        package:
          platform: ios
          target: ipa
          build_args:
            export-options-plist: ios/dev_ExportOptions.plist
            dart-define:
              APP_ENV: dev
        publish_to: pgyer

The build_args are the args supported by the flutter build command, please modify it according to your project.

Release Your App

flutter_distributor release --name dev

Who's using it? #

  • Biyi - A convenient translation and dictionary app.
  • Qianji - A purely bookkeeping app.

License #

MIT