Update: 2026-06-12 01:34:30

This commit is contained in:
Hamza-Ayed
2026-06-12 01:34:30 +03:00
parent ef6b52d2e3
commit 305ae01d52
5 changed files with 48 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -15,6 +15,24 @@ if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0.0'
}
android {
namespace = "com.siro.siro_driver"
compileSdk = 36
@@ -46,10 +64,10 @@ android {
defaultConfig {
applicationId = "com.siro.siro_driver"
minSdkVersion = flutter.minSdkVersion
minSdkVersion = 30
targetSdk = 36
versionCode = 62
versionName = '1.1.62'
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
multiDexEnabled = true
ndk {

View File

@@ -27,11 +27,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.133</string>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>33</string>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>CFBundleURLTypes</key>
<array>
<dict>

View File

@@ -14,6 +14,25 @@ def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0.0'
}
android {
namespace = "com.siro.siro_rider"
compileSdk = 36
@@ -46,10 +65,10 @@ android {
applicationId = "com.siro.siro_rider"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdkVersion = 24
minSdkVersion = 30
targetSdk = 36
versionCode = 65
versionName = '1.1.65'
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
multiDexEnabled = true
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"

View File

@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>33</string>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -37,7 +37,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.1.33</string>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<string>NO</string>
<key>FlutterDeepLinkingEnabled</key>