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)) 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 { android {
namespace = "com.siro.siro_driver" namespace = "com.siro.siro_driver"
compileSdk = 36 compileSdk = 36
@@ -46,10 +64,10 @@ android {
defaultConfig { defaultConfig {
applicationId = "com.siro.siro_driver" applicationId = "com.siro.siro_driver"
minSdkVersion = flutter.minSdkVersion minSdkVersion = 30
targetSdk = 36 targetSdk = 36
versionCode = 62 versionCode = flutterVersionCode.toInteger()
versionName = '1.1.62' versionName = flutterVersionName
multiDexEnabled = true multiDexEnabled = true
ndk { ndk {

View File

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

View File

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

View File

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