/flutter-fdroid

Wrapper that downloads and runs the version of flutter required by a Flutter app

Primary LanguageShellGNU General Public License v3.0GPL-3.0

flutter-froid

This is a script inspired by gradlew-fdroid that automatically detects and downloads the version of flutter required by a Flutter app.

It can be used in fdroiddata recipes so we don't have to hardcode the Flutter version.

Requirements

  • node-semver: in order to parse Flutter versions
  • yq: in order to parse YAML files. (Without it, it will always default to the latest Flutter release.)

How to use it

You can have a look at this example recipe.