F-Droid: Cannot install app on application details screen
Describe the bug
When I try to install FFA (debug) through our self-hosted F-Droid repository, I cannot do that on the application details page. I can however install it when I click the corresponding button in the search results.
We've discussed this on Matrix, it might be related to inconsistent version meta-data, here's a quick link for reference: https://matrix.to/#/!ABWvRYooyooElXBrcj:tchncs.de/$5k4qsSBNygn_6dkJC8EcXpKlGqNZatq6uugEv49plCE?via=tchncs.de&via=matrix.org&via=nordgedanken.dev
How to reproduce
(0. Uninstall previously installt "Funkwhale (debug)" application
- Add the FFA F-Droid repository to the F-Droid client and update packages
- Search for Funkwhale
- Click on the search result to open the app details page
- Click "Install"
-> F-Droid client 1.12: Nothing happens -> F-Droid client 1.13: A toast with the text "Not installed" appears
Expected behavior
The application should be installed. As mentioned above, this works, when I don't enter the details page but use the button on the search result line.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
- Device: Oneplus 7 Pro
- Android version: 11.0.x
- App version: develop
Context
I've opened an issue with F-Droid which might be mute, if we are able to fix this: https://gitlab.com/fdroid/fdroidclient/-/issues/2232