Added release build instructions

This commit is contained in:
Anton Stubenbord
2022-11-11 10:39:17 +01:00
committed by GitHub
parent dfbc05b4b3
commit e155bd3871

View File

@@ -88,6 +88,34 @@ To get a local copy up and running follow these simple steps.
flutter pub run intl_utils:generate
```
### Build release version
In order to build a release version, you have to...
1. Exchange the signing configuration in android/app/build.gradle from
```gradle
buildTypes {
release {
signingConfig signingConfigs.release
}
}
```
to
```gradle
buildTypes {
release {
signingConfig signingConfigs.debug
}
}
```
2. Build the app with release profile (here for android):
```sh
flutter build apk --split-per-abi
```
(the --release flag is implicit for the build command)
3. Install the app to your device
```sh
flutter install
```
<!-- ROADMAP -->