A complete tool for packaging and publishing your Flutter apps.
English | 简体中文
The full documentation can be found on distributor.leanflutter.org.
These are the available packages in this repository.
- app_package_maker_apk – Create a
apkpackage for your app.
- app_package_maker_aab – Create a
aabpackage for your app.
- app_package_maker_deb – Create a
debpackage for your app.
- app_package_maker_dmg – Create a
dmgpackage for your app.
- app_package_maker_exe – Create a
exepackage for your app.
- app_package_maker_ipa – Create a
ipapackage for your app.
- app_package_maker_zip – Create a
zippackage for your app.
- app_package_publisher_fir – Publish your app to
- app_package_publisher_pgyer – Publish your app to
dart pub global activate flutter_distributor
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: flavor: dev 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: flavor: dev export-options-plist: ios/dev_ExportOptions.plist dart-define: APP_ENV: dev publish_to: pgyer
build_argsare the args supported by the
flutter buildcommand, please modify it according to your project.
Release Your App
flutter_distributor release --name dev