fix(android): use stable release keystore for signed APK builds#31
Merged
mikebarkmin merged 1 commit intomainfrom Apr 28, 2026
Merged
fix(android): use stable release keystore for signed APK builds#31mikebarkmin merged 1 commit intomainfrom
mikebarkmin merged 1 commit intomainfrom
Conversation
Agent-Logs-Url: https://github.com/openpatch/classi/sessions/923e4653-941d-4b14-9ef7-77bce1182af1 Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mikebarkmin
April 28, 2026 06:40
View session
Copilot stopped work on behalf of
mikebarkmin due to an error
April 28, 2026 06:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release APKs were signed with the CI runner's auto-generated debug keystore, which is ephemeral and different on every run. This caused Android to reject upgrades between releases (e.g. 1.1.4 → 1.1.5) due to signature mismatch, requiring users to uninstall the app before installing a newer version.
Changes
android/app/build.gradle.ktsKEYSTORE_PATH,ANDROID_STORE_PASSWORD,ANDROID_KEY_ALIAS, andANDROID_KEY_PASSWORDfrom environment variables to create areleasesigning config.debugsigning config whenKEYSTORE_PATHis not set, so local development is unaffected..github/workflows/release.ymlANDROID_KEYSTORE_BASE64secret into a temp file before building.Required repository secrets
Please add the following secrets under Settings → Secrets and variables → Actions:
ANDROID_KEYSTORE_BASE64base64 classi-release.jks(one-liner on Linux/macOS)ANDROID_KEY_ALIASANDROID_STORE_PASSWORDANDROID_KEY_PASSWORD