Receive shared repo URLs via `android.intent.action.SEND` Intents to the Add Repos flow
In many cases, clicking on repo and mirror URLs cannot effectively bring the user to the Add Repos flow any more. We should provide a "Share" UX based on `` Intents as another option. For example AntennaPod does this for podcast feed URLs: #2439 (comment 1402008241)
I did a survey of how browsers handling clicking on mirror/repo URLs as listed in https://fdroid.gitlab.io/mirror-monitor/, e.g. a URL like https://mirrors.dotsrc.org/fdroid/repo.
browser | direct click | option on long-press | share |
---|---|---|---|
Brave | shows page | copy | works |
Chromium | shows page | copy | works |
Cromite | shows page | copy | works |
DuckDuckGo | Open in app Snackbar | copy | works |
Firefox | shows page | copy | works |
Firefox Focus with "Open links in apps" | shows page | copy | works |
Midori | Open in app Snackbar | copy | works |
Mull | |||
Tor Browser | shows page | copy | works |
Vivaldi | |||
app | - | - | - |
K-9 Mail | shows page in browser | copy | works |
Signal | shows page in browser | copy | works |
Since many browsers don't provide an easy way to add a repo by clicking a link, I think we need to support the "Share" flow.
Edited by Hans-Christoph Steiner