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:
2026-04-08 21:36:25 +05:30
parent c85564efc8
commit 6990b62645

View File

@@ -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 ----------