fix: 웹앱 새로고침 후 버전 정보 유지 및 BuildInfoPlugin 오류 수정

This commit is contained in:
hansoo
2025-03-23 22:17:42 +09:00
parent 200f08860f
commit f5e3b39c73
3 changed files with 163 additions and 34 deletions

View File

@@ -22,10 +22,10 @@ android {
applicationId "com.lovable.zellyfinance"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode versionCode
versionName versionName
versionCode = versionCode
versionName = versionName
// 빌드 번호 추가 - BuildConfig 필드로 정의
buildConfigField "int", "BUILD_NUMBER", buildNumber.toString()
buildConfigField("int", "BUILD_NUMBER", String.valueOf(buildNumber))
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.