[Feature/Bug] Drawer app search does not recognize verified app links/urls
Description
Pasting a link in the search bar that is supported by any of the installed apps (Verified Android App Links ) should give an option to be opened in supported apps (Url-App-Chooser)
Expected Behavior
http/https URLs should be opened in the default browser / verified app and if there are multiple supported apps and no default show Url-App-Chooser
Custom URI schemes such as fdroidrepo:// (https://github.com/NeoApplications/Neo-Store/issues/200) should also be recognized
Actual Behavior
All searches are treated as query strings and added to the selected search engine URL:
<search engine (duckduckgo, searx etc.)><search term>
As such, full URLs and custom URI schemes are not recognized and always result in search engine "search"
Steps to Reproduce
Given that Startpage.com is selected as search engine
- Search for https://play.google.com/store/apps/details?id=com.google.android.youtube
- This results in https://www.startpage.com/rvd/search?query=https://play.google.com/store/apps/details?id=com.google.android.youtube&language=auto and will be opened in the default browser or show Url-App-Chooser to choose a browser
Expected:
- The link should have been opened in the default supported app (Google Playstore / Aurora Store) or show a list of supported apps if there is no default
- If no supported apps exist on the device it should be opened in a browser if the scheme is
http(s)://otherwise perform search engine query the same as the current behavior
References
- for Android 12+ - https://github.com/1fexd/LinkSheet
- the gold standard for search - https://play.google.com/store/apps/details?id=ninja.sesame.app.edge
Device and OS
N/A