mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
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>
15 lines
560 B
Plaintext
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
|