ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
5.92k stars 140 forks source link

Some Errors Occured: Cannot install an older version of an app #674

Closed dominikheinz closed 11 months ago

dominikheinz commented 11 months ago

Summary:

While updating works perfectly fine for most apps, some apps cause problems. One of these apps that cause problems is Waterfly. I have version v0.1.7-beta installed, and the latest version is v0.1.8-beta. However, when I try to install the update, I am prompted with an error: "Cannot install an older version of an App: [com.dreautall.waterflyiii]". (See attached Screenshots). Something makes Obtainium think the version I am trying to install is older than the one that is already installed? Maybe it has to do with how the version string is evaluated? The app was installed via Obtainiums GitHub search feature.

Version Overview Installation Error
signal-2023-07-15-131839_003 signal-2023-07-15-131839_002
ImranR98 commented 11 months ago

Try installing the 0.1.8 apk manually just to see if that works

ImranR98 commented 11 months ago

Just tried it myself - the newer version has a lower versioncode so android won't allow you to install it. From the OS point of view, it's an older version - versioncodes should always go up, not down. Newer one is 1083, older is 2096.

ImranR98 commented 11 months ago

Duplicate of #632