flutter_distributor 0.3.6  flutter_distributor: ^0.3.6 copied to clipboard
flutter_distributor: ^0.3.6 copied to clipboard
A complete tool for packaging and publishing your Flutter apps.
flutter_distributor #
A complete tool for packaging and publishing your Flutter apps.
English | 简体中文
Documentation #
The full documentation can be found on distributor.leanflutter.org.
Features #
Makers #
- apk - Create a apkpackage for your app.
- aab - Create a aabpackage for your app.
- appimage - Create a AppImagepackage for your app.
- deb - Create a debpackage for your app.
- dmg - Create a dmgpackage for your app.
- exe - Create a exepackage for your app.
- ipa - Create a ipapackage for your app.
- msix - Create a msixpackage for your app.
- pkg - Create a pkgpackage for your app.
- rpm - Create a rpmpackage for your app.
- zip - Create a zippackage for your app.
Publishers #
- appcenter - Publish your app to appcenter.
- appstore - Publish your app to appstore.
- fir - Publish your app to fir.
- firebase - Publish your app to firebase.
- firebase_hosting - Publish your app to firebase_hosting.
- github - Publish your app to githubrelease.
- pgyer - Publish your app to pgyer.
- playstore - Publish your app to playstore.
- qiniu - Publish your app to qiniu.
- vercel - Publish your app to vercel.
Getting Started #
Installation #
dart pub global activate flutter_distributor
Usage #
Add distribute_options.yaml to your project root directory.
variables:
  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_argsare the args supported by theflutter buildcommand, 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.
- Alga - A developer tools app.
Contributors #
| LiJianying 💻 | Zero 💻 | Kingkor Roy Tirtho 💻 | LAIIIHZ 💻 | Tomohiro Ueki 💻 | Sven Gehring 💻 | GargantuaX 💻 | 
| Hiperion 💻 | Reuben Turner 💻 | Ankit Mahato 📖 | ||||
|  | ||||||
License #
MIT