An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
English | 简体中文
The full documentation can be found on distributor.leanflutter.dev.
apk
package for your app.aab
package for your app.AppImage
package for your app.deb
package for your app.dmg
package for your app.exe
package for your app.ipa
package for your app.msix
package for your app.pkg
package for your app.rpm
package for your app.zip
package for your app.appcenter
.appstore
.fir
.firebase
.firebase_hosting
.github
release.pgyer
.playstore
.qiniu
.vercel
.dart pub global activate flutter_distributor
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 theflutter build
command, please modify it according to your project.
flutter_distributor release --name dev