How to install an old version of an app (downgrade) on F-Droid 2.0-alpha9?

Hi, old versions are displayed on both full and basic flavors of F-Droid, and that’s great! However, how to interact with them? Let’s say I update an app and find out there is something that doesn’t work anymore, so I decide either to downgrade or reinstall. I look at the version list but can’t find a way to choose any of them. Clicking just expands the tag, and long pressing it depends on where you click: if you long-press on the tag itself, then nothing happens, if you do the same on description, it enables text selection. Am I missing something? I searched on gitlab and forum, but could not find a related issue.

If that feature is absent, then a good approach would be on long-pressing the tag, a menu emerges and user can install that version. Another way would be adding a button like previous F-Droid did, if I recall correctly.

Downgrading is not really an Android feature. Older versions had this button but was useless.

Try to use ADB maybe.

2 Likes

Maybe worth noting: If you manage to install an older version of an app, it still depends on the app and the changes made between versions whether the app can properly run.

If an installed update for example changed the underlying data structure for stored data or configuration, the old version might not be able to deal with that. It might error in some way or even crash.

I had to do this recently, an upgrade resulted in an app crashing a few seconds after it was launched. Fortunately the app involved didn’t have a lot of settings so I backed up the data, uninstalled the app then reinstalled the older version from F-Droid (a new install allows one to choose any version available on F-Droid).

App now works so I’m happy but I need to contact the dev about the crash.