Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 1.19 KB

publishing.md

File metadata and controls

91 lines (60 loc) · 1.19 KB

Publishing

This document defines how to configure project for publishing.

Android

  1. Put release.jks file in android/keystore directory.

  2. Create keystore.properties file in android directory.

Sample keystore.properties file.

KEYSTORE_FILE_PATH=../keystore/release.jks
SIGNING_STORE_PASSWORD=<PASSWORD>
SIGNING_KEY_ALIAS=<ALIAS>
SIGNING_KEY_PASSWORD=<ALIAS_PASSWORD>
  1. Build release apk or appbundle
# APK
flutter build apk

# Appbundle
flutter build appbundle

iOS

// TODO 🚧

MacOS

  1. Build app.
flutter build macos
  1. Run create.sh installer script to create dmg file.
sh ./installers/dmg/create.sh

Windows

  1. Create .env file in root of the project with CERT_PASSWORD variable.

Sample .env file.

CERT_PASSWORD=<PASSWORD>
  1. Build app.
flutter build windows
  1. Setup for msix creation.
dart ./installers/msix/setup_local.dart
  1. Build msix file.
flutter pub run msix:create
  1. Restore pubspec.yaml file since msix config is added to it.
git restore pubspec.yaml

Linux

// TODO 🚧

Web

❌ Unsupported.