Enhance Android build process and add settings for update management

- Implement caching for Android debug keystore
- Modify APK build command to include CI versioning
- Add logic to prepare release assets and upload to GitHub
- Update .gitignore to exclude build directories
- Introduce SettingsActivity for managing auto-update preferences
- Add UpdateManager for handling update checks and dialogs
- Integrate update check on app startup in MainActivity
This commit is contained in:
jahruz67
2026-05-21 16:21:21 -07:00
parent c1ad9c7a56
commit 9af47ed14a
8 changed files with 590 additions and 5 deletions
+5 -2
View File
@@ -2,6 +2,9 @@ plugins {
id "com.android.application"
}
def ciVersionCode = providers.gradleProperty("ciVersionCode").getOrNull()
def ciVersionName = providers.gradleProperty("ciVersionName").getOrNull()
android {
namespace "com.bibliadiaria.app"
compileSdk 35
@@ -10,8 +13,8 @@ android {
applicationId "com.bibliadiaria.app"
minSdk 23
targetSdk 35
versionCode 1
versionName "1.0"
versionCode ciVersionCode != null ? ciVersionCode.toInteger() : 1
versionName ciVersionName != null ? ciVersionName : "1.0"
}
compileOptions {