mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
468bf7d777
commit
11a964bd37
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user