Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

Building

Roman Cinis edited this page Dec 5, 2020 · 2 revisions

Building Guide

In this section, you can learn how to build this project yourself.

Table of content

Important Info

Not all packages are ready for null-safety at this moment. Please use the "no sound null safety" flag in all cases:

--no-sound-null-safety

Web-version should also have an SKIA flag enabled because the SVG plugin is not working properly in browsers:

--dart-define=FLUTTER_WEB_USE_SKIA=true

Instructions

Flutter version 1.22 or higher is assumed to be installed. Please run this command from the project's folder, in your terminal:

Web (PWA):

flutter config --enable-web
flutter build web --release --dart-define=FLUTTER_WEB_USE_SKIA=true --no-sound-null-safety

macOS:

flutter config --enable-macos-desktop
flutter build macos --release --no-sound-null-safety

Windows:

flutter config --enable-windows-desktop
flutter build windows --release --no-sound-null-safety

Linux:

flutter config --enable-linux-desktop
flutter build linux --release --no-sound-null-safety

Android:

flutter build apk --split-per-abi --no-sound-null-safety

iOS:

flutter build ios --release --no-codesign --no-sound-null-safety

Missing some platform?

As long as your platform can open Chromium-based v83+ or Firefox v77+ web browser — you can use and install the PWA version of this app.

Clone this wiki locally