• Stars
    star
    160
  • Rank 234,703 (Top 5 %)
  • Language
    Dart
  • License
    MIT License
  • Created almost 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fledge: A CI/CD tool for Flutter

pub package Build Status drawing

Fledge

See https://medium.com/@nocnoc/cicd-for-flutter-fdc07fe52abd 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

As with any mobile app, there are several one-time setup tasks (most of which you have to do anyway… even without a CICD tool).

To avoid having to gather together all the bits and pieces of information required to deliver a Flutter app, the Fledge project has created complete documentation to walk you thru all the setup tasks for the more common scenarios.

One of the reasons the Fledge projects exists is to document these one-time setup tasks and progressively automate them where possible (and then remove from documentation).

Fledge Docs

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.

Your feedback is used to guide where development effort is focused. So feel free to create as many issues and pull requests as you want. You should expect a timely and considered response.

BTW: to contribute to the manual, fork the project and make updates to the gh-pages branch. Then create a PR. The manual is a collection of markdown docs (like the README.md).

Code of Conduct

Fledge is committed to fostering a welcoming community.

Big Thanks

Mobile Testing Platform and Open Source <3β™₯ Provided by Sauce Labs

More Repositories

1

screenshots

Screenshots: A command line utility and package for capturing screenshots for Flutter
Dart
263
star
2

modal_progress_hud

A simple modal progress HUD (heads-up display, or progress indicator) for flutter
Dart
158
star
3

sylph

Runs Flutter integration tests on real devices in cloud.
Dart
157
star
4

flutter_app

Flutter counter app demonstrating unit, widget and end-to-end integration testing with code coverage
Dart
23
star
5

test_emulators

Test start-up of android emulators on Travis and Cirrus. Plus run a test.
Dart
14
star
6

todo

Demo app for fledge
Dart
13
star
7

flown

Clone a flutter app from a url.
Dart
8
star
8

go

Go Examples
Makefile
7
star
9

tool_base

Flutter tools' base
Dart
4
star
10

hot-emulator

Docker image of android emulator with quickboot snapshot
Shell
3
star
11

fake_process_manager

A fake process manager for testing
Dart
2
star
12

flutter_ios_build

Test creating build conditions on macOS for iOS .app and .ipa for testing on real devices
Shell
2
star
13

test_internationalization

Demo of flutter driver issue https://github.com/flutter/flutter/issues/27785
Dart
2
star
14

default_flutter_app

The default flutter app with separate testable flutter app running on Travis and Cirrus
Dart
2
star
15

chingle

Video chat iPhone app based on XMPP and Jingle
2
star
16

tool_base_test

Flutter tools' base test support
Dart
2
star
17

test_flutter_saucelabs

Flutter instrumentation/integration testing via Sauce Labs
Dart
2
star
18

giterdone

Demo of CI/CD for Flutter
Dart
1
star
19

google_maps_flutter_jitter

Shows jitter when route is animated on Android
Dart
1
star
20

plugins

Dart
1
star
21

scala-principles

Functional Programming Principles in Scala -- Coursera
Scala
1
star
22

tool_mobile

Flutter tools' base plus mobile
Dart
1
star
23

grpc_series_flutter

Source code for a series of articles describing experience developing a production grade backend for integrating Flutter with MongoDB's geospatial features.
Java
1
star
24

fledge_demo_app

Demo app for fledge https://github.com/mmcc007/fledge
HTML
1
star
25

flutter_architecture_samples_temp_old

Dart
1
star
26

flutter_architecture_samples_temp

Dart
1
star
27

flutter_gallery

Dart
1
star
28

reporting

Report analytics to Google Analytics and crashes to a crash server for Dart command line apps
Dart
1
star
29

wiremock-example

Example of using WireMock with RestAssured.
Java
1
star