Giter VIP home page Giter VIP logo

flutter_distributor's Introduction

flutter_distributor

pub version melos All Contributors

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 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.

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

📖
Add your contributions

License

MIT

flutter_distributor's People

Contributors

allcontributors[bot] avatar animator avatar byteszero avatar cybrox avatar dependabot[bot] avatar gargantuax avatar groovinchip avatar hiperioncn avatar krtirtho avatar laiiihz avatar lailaimaster avatar lijy91 avatar ueki-tomohiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.