ImranR98 / Obtainium

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

Feature request: show ABI from F-Droid when there are multiple files to choose from #779

Open surlyhacker opened 1 year ago

surlyhacker commented 1 year ago

I noticed when updating OsmAnd~ from F-Droid that Obtainium presents me with a dialog to pick an APK when there are multiple choices for the most recent (human readable?) version.

image

It shows my device's supported ABIs at the bottom there, but it does not show the ABI of each available APK from F-Droid. I do see this info in their v2 repo index, so it does seem to be available.
JSON "path" is like packages[x].versions[x].manifest.nativecode[], which is an array with an entry for the ABI(s?) of each release APK.

For example:

{
    "packages": {
        "net.osmand.plus": {
            "versions": {
                "aee0fe8d80778bf53d98b65c7d812008c6707ba07340c6890113a4a83539ea94": {
                    "added": 1692028394000,
                    "file": {
                        "name": "/net.osmand.plus_450803.apk",
                    },
                    "manifest": {
                        "nativecode": [
                            "arm64-v8a"
                        ],
                        "versionName": "4.5.8",
                        "versionCode": 450803,

It is not (for whatever reason) in the per-app active packages API.

So my request would be for Obtainium to show the ABI of each file in that options list.

F-Droid itself shows it like this on the web: image Although in the android F-Droid app it does not show it, and seems to filter the list of APKs to the ones that are ABI-compatible with my device without ever showing the ABI of each.

dimka511 commented 1 year ago

I would also like the date from fdroid to be shown like applications from github Screenshot_20230819-131041