Skip to content

fix: recognize alternative F-Droid installers - #56

Merged
andre487 merged 1 commit into
mainfrom
fix/fdroid-installer-detection
Oct 3, 2026
Merged

andre487 merged 1 commit into
mainfrom
fix/fdroid-installer-detection

Conversation

@andre487

@andre487 andre487 commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Alternative F-Droid clients were treated as GitHub installers because automatic source selection recognized only the official package names. Detect installers that handle fdroidrepo/fdroidrepos repository links, restricting the query to the actual installer package so unrelated installed clients cannot change the result. Preserve official/privileged installer support and explicit user choices; unknown installers or failed capability lookup require a choice.

Open the F-Droid package web link without forcing the official client, allowing compatible clients or a browser to handle it. F-Droid mode continues to query its API and delegate installation. Update EN/RU behaviour and release-check documentation.

Validation: bundle exec fastlane android android_checks passed locally: 177 JVM tests, lint, debug and verified unsigned release builds. New Robolectric tests cover SDK 26 and 35, both schemes, unrelated clients, unknown installers and manual override. The UI test checks the unrestricted package link and absence of APK downloading. No physical-device or real-client installation was performed.

Addresses: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/47508#note_3949232164

@andre487
andre487 enabled auto-merge (squash) October 3, 2026 14:46
@andre487
andre487 disabled auto-merge October 3, 2026 14:47
@andre487
andre487 enabled auto-merge (squash) October 3, 2026 14:48
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

APK artifacts

Built from commit c4d3e07d by CI run #192.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 merged commit d1af5b9 into main Oct 3, 2026
4 checks passed
@andre487
andre487 deleted the fix/fdroid-installer-detection branch October 3, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant