fix(android): read versionCode/versionName from flutter pubspec instead of hardcoded values
Was hardcoded to versionCode=17, versionName="1.6.1(p)" — overriding pubspec.yaml and causing Play Store rejection. Now reads flutter.versionCode and flutter.versionName so pubspec.yaml is the single source of truth. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ android {
|
|||||||
applicationId = "com.sicherhaven.eventify"
|
applicationId = "com.sicherhaven.eventify"
|
||||||
minSdk = flutter.minSdkVersion
|
minSdk = flutter.minSdkVersion
|
||||||
targetSdk = flutter.targetSdkVersion
|
targetSdk = flutter.targetSdkVersion
|
||||||
versionCode = 17
|
versionCode = flutter.versionCode
|
||||||
versionName = "1.6.1(p)"
|
versionName = flutter.versionName
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------- SIGNING CONFIG ----------
|
// ---------- SIGNING CONFIG ----------
|
||||||
|
|||||||
Reference in New Issue
Block a user