Hello!
I have two APK files with different “versionName” but their “versionCode” is the same.
aaptdump output:
package: name='com.e1c.mobile.standalone' versionCode='50' versionName='8.3.19.51' compileSdkVersion='30' compileSdkVersionCodename='11'
package: name='com.e1c.mobile.standalone' versionCode='50' versionName='8.3.22.52' compileSdkVersion='31' compileSdkVersionCodename='12'
For test update, first of all I add OLD version to fdroid/repo and run
fdroid update --create-metadata --rename-apks --pretty
and install OLD version on FDroid Client.
Then I add NEW apk version in fdroid/repo and also run
fdroid update --create-metadata --rename-apks --pretty
But in FDroid client I see two versions of app that mark as "installed" and "suggested", but only OLD version has installed yet and I don’t have button “update”.
In the repo dir there are two files:
com.e1c.mobile.standalone_50.apk
com.e1c.mobile.standalone_50_db49d71.apk
where 50_db49… is new apk file.