This document defines how to configure project for publishing.
-
Put
release.jks
file inandroid/keystore
directory. -
Create
keystore.properties
file inandroid
directory.
KEYSTORE_FILE_PATH=../keystore/release.jks
SIGNING_STORE_PASSWORD=<PASSWORD>
SIGNING_KEY_ALIAS=<ALIAS>
SIGNING_KEY_PASSWORD=<ALIAS_PASSWORD>
- Build release apk or appbundle
# APK
flutter build apk
# Appbundle
flutter build appbundle
// TODO 🚧
- Build app.
flutter build macos
- Run
create.sh
installer script to createdmg
file.
sh ./installers/dmg/create.sh
- Create
.env
file in root of the project withCERT_PASSWORD
variable.
CERT_PASSWORD=<PASSWORD>
- Build app.
flutter build windows
- Setup for msix creation.
dart ./installers/msix/setup_local.dart
- Build msix file.
flutter pub run msix:create
- Restore pubspec.yaml file since msix config is added to it.
git restore pubspec.yaml
// TODO 🚧
❌ Unsupported.