illogical-robot/apkmirror-public

Please provide a vanity URI to download the most recent `.APK` file.

Opened this issue · 5 comments

  1. Expected behaviour

    https://binary-factory.kde.org/job/Krita_Release_Android_AppBundle_Build/#:~:text=DSL%20Job%20Seed-,permalinks,-Last%20build%20(%2310) demonstrates what I refer to.

  2. Actual behaviour

    I desire this because I am currently unable to automate my process of installation of my software, because I am unable to configure pm and adb to utilize external repositories as F-Droid does, so I must manually acquire the necessary packages to install them manually. This is additionally true for bundletool per https://stackoverflow.com/a/52704544/9731176), but you appear to not provide application-bundles for the applications that I have observed (https://apkmirror.com/apk/mozilla/firefox-fenix).

  3. Steps to reproduce the problem

    Navigate to https://apkmirror.com/apk/mozilla/firefox-fenix/#:~:text=more%20with%20%20Premium-,all%20versions,-Firefox%20Nightly%20for

    Discussion continues at https://gitlab.com/fdroid/fdroid-website/-/issues/663.

The problem with the way APKMirror works is the most recent doesn't necessarily mean the highest version, but rather the latest uploaded APK. I try to bump the date down for obviously older APKs, but it isn't always reliable and obvious.

You can grab the app RSS feed and just take the latest item from there if you'd like this functionality.

@archon810, in that case, I mean the most recent version rather than most recently uploaded file. Since I need to automate this, and APKMirror is seriously the sole repository that contains more than a few applications, this is necessary. Imagine if you needed to acquire every update of all of the software of your computer manually!

As I mentioned, there is already a solution for you using app feeds. Just append /feed to any app url on apkmirror.com.

Ah, and that provides the highest version rather than most recent upload, @archon810?

We'd need a reliable solution to this first #233. Otherwise, no, it'd point to the latest item, but 99% of the time, the top item there is going to be the latest version. You can also try to parse versions from the feed yourself if you want to make some version comparisons.