Skip to content

Commit

Permalink
mobile: fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Aug 9, 2024
1 parent 74187b3 commit da563ba
Show file tree
Hide file tree
Showing 5 changed files with 921 additions and 4,872 deletions.
4 changes: 2 additions & 2 deletions apps/mobile/native/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
versionCode 3021
versionCode 3022
versionName getNpmVersion()
testBuildType System.getProperty('testBuildType', 'debug')
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
Expand Down Expand Up @@ -183,9 +183,9 @@ android {
defaultConfig.versionCode * 5 + versionCodes.get(abi)
println("Fdroid Version code: ${output.versionCodeOverride} for abi ${versionCodes.get(abi)}");
} else {
println("Version code: ${output.versionCodeOverride} for abi ${versionCodes.get(abi)}");
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
println("Version code: ${output.versionCodeOverride} for abi ${versionCodes.get(abi)}");
}

}
Expand Down
Loading

0 comments on commit da563ba

Please sign in to comment.