From c88f55af5adfd5cb6bdf5c7478b9b8c79b3ddf96 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 15 Jun 2025 14:42:58 -0400 Subject: [PATCH 1/2] Fix versionCode issue for universal builds (#2352) --- android/app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 985d2ad..a684a7f 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -90,7 +90,7 @@ androidComponents { onVariants { variant -> variant.outputs.forEach { output -> val name = output.filters.find { it.filterType == ABI }?.identifier - val baseAbiCode = abiCodes[name] + val baseAbiCode = abiCodes[name] ?: 0 if (baseAbiCode != null) { output.versionCode.set(baseAbiCode + ((output.versionCode.get() ?: 0) * 10)) } From 377ebeeca277f7c2c1f9a6ffc93757b5e5b3b0ba Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 15 Jun 2025 14:44:14 -0400 Subject: [PATCH 2/2] Increment version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 536ff9a..47fd210 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.57+2314 +version: 1.1.58+2315 environment: sdk: ^3.8.1