mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 19:29:30 +00:00
Use raw versionCodes in web apk json.
We missed a spot when transitioning to split apk versions. It ended up breaking the update prompt for web apks. This will put the raw universal apk version in the json file, which should put us back on the right track. Fixes #8936
This commit is contained in:
@@ -469,7 +469,7 @@ def assembleWebsiteDescriptor = { variant, file ->
|
||||
String apkName = file.getName()
|
||||
|
||||
String descriptor = "{" +
|
||||
"\"versionCode\" : $canonicalVersionCode," +
|
||||
"\"versionCode\" : ${canonicalVersionCode * postFixSize + abiPostFix['universal']}," +
|
||||
"\"versionName\" : \"$canonicalVersionName\"," +
|
||||
"\"sha256sum\" : \"$digest\"," +
|
||||
"\"url\" : \"$url/$apkName\"" +
|
||||
|
Reference in New Issue
Block a user