Merge pull request #2357 from ImranR98/dev

Fix versionCode issue for universal builds (#2352)
This commit is contained in:
Imran
2025-06-15 14:44:24 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

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