Files
oott/frontend/android/key.properties.example
T
rzuastiandClaude Opus 4.8 11a964bd37 Add Android release signing config for Play Store
Release builds were signed with the debug key, which Play rejects. Load
an upload keystore from android/key.properties (gitignored) and use it
for the release signing config, falling back to the debug key when the
file is absent so `flutter run --release` still works without a keystore.

Add key.properties.example documenting the keytool setup and a
build_android_release.sh helper that builds the signed AAB and refuses
to run when key.properties is missing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 14:42:40 -04:00

15 lines
560 B
Plaintext

# Template for android/key.properties (which is gitignored — NEVER commit the
# real file or the keystore it points to).
#
# 1. Generate an upload keystore, storing it OUTSIDE the repo:
#
# keytool -genkey -v -keystore ~/oott-upload-keystore.jks \
# -keyalg RSA -keysize 2048 -validity 10000 -alias upload
#
# 2. Copy this file to android/key.properties and fill in the values below.
storePassword=<password chosen during keytool>
keyPassword=<password chosen during keytool>
keyAlias=upload
storeFile=/absolute/path/to/oott-upload-keystore.jks