Feature #2477
bootstrapping webpage with F-Droid download link and add-repo link
| Status: | Closed | Start date: | 11/14/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | 0.2 - ChatSecure/Bluetooth | |||
| Component: |
Description
When Kerplapp receives a connection to its repo from a User-Agent that is not F-Droid, it should present an index.html page that includes two links: a download link to fdroid.apk and a link to fdroidrepo://myhost/repo so that the device being bootstrapped can easily add the source repo to F-Droid once its installed.
This whole thing would work very smoothly if we can figure out how to make an IntentFilter that matches the scheme and the path with a wildcard host, i.e. http://.*/repo. Otherwise it'll be tricky since Barcode Scanner will want to see a fdroidrepo:// URI.
Related issues
History
#1 Updated by hans about 4 years ago
- Target version changed from 0.1 - "Kerplapp" to 0.2 - ChatSecure/Bluetooth
#2 Updated by hans about 4 years ago
I got the IntentFilter working that we needed (in regexp form: ^https?://.*/(repo|archive)/*$). Its awaiting inclusion in F-Droid:
https://gitorious.org/f-droid/fdroidclient/merge_requests/39
#3 Updated by pd0x about 4 years ago
- Status changed from New to Closed
Addressed Kerplapp-side with Revision 14a80781