fledge 0.1.1

  • README.md
  • Installing
  • Versions
  • new55

pub package


See article for introduction to Fledge.

Fledge: A CICD tool for Flutter #

Automatically build, test, sign and release your Flutter app to both Apple and Google stores.

Supports public and private build servers in the cloud (Travis, Cirrus, etc...) and in-house (Jenkins, GitLab, etc...).

There are many steps involved each time an app, or an app upgrade, is delivered to both stores. Fledge exists to document and automate these steps.

Quick start #

For example, with GitHub and Travis:

  1. Install Fledge

     $ pub global activate fledge
  2. Add secrets
    Set your secret variables in:

     https://travis-ci.org/<your name>/<your repo>/settings

    secret variables
    These variables are used for signing and uploading to both stores.

  3. Add app to Fledge
    Install the Travis config file and Fastlane files

     $ fledge config -b travis
  4. Start a beta
    Run pipeline on Travis

     $ fledge beta

    This will build your app, upload to both store consoles and release to beta testers.

  5. Release to users

     $ fledge release

    This will release the app to users.

Documentation #

View the documentation site for complete usage and configuration information.

Demo #

For a demo of Fledge in action see: https://github.com/mmcc007/todo. Links are included to view the pipeline on Travis that delivers betas and releases to both stores.

The demo app was delivered automatically to both Google and Apple stores using a Fledge pipeline.

You can download the demo app to your android or iOS device:
GitErDone GitErDone

Fledge trace-back feature #

This feature allows you to track what version of your app is running on any device. Useful for support and bug-fixing.

To use the Fledge trace-back feature, tap on the app title 'GitErDone' to view the 'About'.

On an android device you will see:
android screenshot

On an iOS device you will see:
ios screenshot

You can then trace back to the Fledge pipeline that delivered the app (click on image below for link to actual pipeline):
fledge pipeline

License #

Fledge is distributed by an MIT license.

Contributing #

When contributing to this repository, please feel free to discuss via issue or pull request.

Issues and pull requests are welcome.

Code of Conduct #

Fledge is committed to fostering a welcoming community.

0.1.1 #

  • Updated docs

0.1.0 #

  • Initial release

0.0.4 #

  • Resolved documentation generation issue

0.0.3 #

  • Provided required example and resolved documentation generation issue

0.0.2 #

  • Resolved package analysis issues

0.0.1 #

  • Initial version

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate fledge

2. Use it

The package has the following executables:

$ fledge

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  fledge: ^0.1.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:fledge/fledge.dart';
Version Uploaded Documentation Archive
0.1.1 Feb 21, 2019 Go to the documentation of fledge 0.1.1 Download fledge 0.1.1 archive
0.1.0 Jan 29, 2019 Go to the documentation of fledge 0.1.0 Download fledge 0.1.0 archive
0.0.4 Jan 29, 2019 Go to the documentation of fledge 0.0.4 Download fledge 0.0.4 archive
0.0.3 Jan 29, 2019 Go to the documentation of fledge 0.0.3 Download fledge 0.0.3 archive
0.0.2 Jan 29, 2019 Go to the documentation of fledge 0.0.2 Download fledge 0.0.2 archive
0.0.1 Jan 29, 2019 Go to the documentation of fledge 0.0.1 Download fledge 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13+1


Detected platforms: Flutter, other

Primary library: package:fledge/fledge.dart with components: io, isolate.

Health suggestions

Fix lib/src/io.dart. (-1.49 points)

Analysis of lib/src/io.dart reported 3 hints:

line 676 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 866 col 3: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 867 col 3: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and fledge.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
args ^1.4.1 1.5.1
async ^2.0.0 2.0.8
crypto >=1.0.0 <3.0.0 2.0.6
http ^0.12.0 0.12.0+1
http_multi_server >=1.0.0 <3.0.0 2.0.5
meta ^1.1.0 1.1.7
path ^1.2.0 1.6.2
pool ^1.0.0 1.4.0
pub_semver ^1.4.0 1.4.2
resource ^2.1.5 2.1.5
source_span ^1.4.0 1.5.4
stack_trace ^1.0.0 1.9.3
yaml ^2.0.0 2.1.15
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
http_parser 3.1.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.0.0