Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions workout-logger/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@ android {
}
release {
// Uses the production EC P-256 keystore when KEYSTORE_PATH env var is set
// (CI injects it via GitHub Secrets). Falls back to debug key for local
// flutter run --release without env vars configured.
val releaseConfig = signingConfigs.getByName("release")
signingConfig = if (releaseConfig.storeFile != null) releaseConfig
else signingConfigs.getByName("debug")
// (CI injects it via GitHub Secrets). Falls back to the debug key for a
// local `flutter run --release` without env vars configured.
//
// This MUST stay on a single line beginning with `signingConfig` so the
// F-Droid build server's signing-key stripper removes the whole statement
// (it deletes the `signingConfigs { ... }` block too, after which any
// surviving reference like `signingConfigs.getByName("release")` would
// fail with "SigningConfig with name 'release' not found"). F-Droid then
// signs the APK with its own key.
signingConfig = signingConfigs.findByName("release")?.takeIf { it.storeFile != null } ?: signingConfigs.getByName("debug")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Workout logger with AI coaching, progress analytics, and Health Connect integration
Workout logger with AI coaching, analytics & Health Connect integration
Loading