Skip to content

leanflutter/flutter_distributor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

flutter_distributor

pub version melos All Contributors

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.


English | ็ฎ€ไฝ“ไธญๆ–‡


Documentation

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

Features

Makers

  • apk - Create a apk package for your app.
  • aab - Create a aab package for your app.
  • appimage - Create a AppImage package for your app.
  • deb - Create a deb package for your app.
  • dmg - Create a dmg package for your app.
  • exe - Create a exe package for your app.
  • ipa - Create a ipa package for your app.
  • msix - Create a msix package for your app.
  • pkg - Create a pkg package for your app.
  • rpm - Create a rpm package for your app.
  • zip - Create a zip package 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 github release.
  • 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_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.
  • Alga - A developer tools app.
  • Airclap - Send any file to any device. cross platform, ultra fast and easy to use.

Contributors

LiJianying
LiJianying

๐Ÿ’ป
Zero
Zero

๐Ÿ’ป
Kingkor Roy Tirtho
Kingkor Roy Tirtho

๐Ÿ’ป
LAIIIHZ
LAIIIHZ

๐Ÿ’ป
Tomohiro Ueki
Tomohiro Ueki

๐Ÿ’ป
Sven Gehring
Sven Gehring

๐Ÿ’ป
GargantuaX
GargantuaX

๐Ÿ’ป
Hiperion
Hiperion

๐Ÿ’ป
Reuben Turner
Reuben Turner

๐Ÿ’ป
Ankit Mahato
Ankit Mahato

๐Ÿ“–
Tien Do Nam
Tien Do Nam

๐Ÿ’ป
zacks
zacks

๐Ÿ’ป
Add your contributions

License

MIT