GNOME Bugzilla – Bug 756293
Webapps should handle deep links
Last modified: 2018-08-03 20:37:48 UTC
1. Create a webapp for linkedin.com 2. Click on a link to linkedin.com in your mail client What happens: - the default browser opens What should happen: - the webapp for linkedin.com should open the link One way this could be implemented: - When creating the webapp, Epiphany downloads the https://linkedin.com/.well-known/assetlinks.json [1] and verifies all the domains are handled - Epiphany writes inside the .desktop file that the app handles those domains (maybe extending the x-scheme-handler/ mime-type, or writing a separate X-GNOME-Scheme and X-GNOME-Domains keys) - Epiphany adds "%u" to the .desktop Exec= - GIO launches the epiphany web app when a linkedin.com link is clicked. Even better, Epiphany should check for external webapps handling a particular domain/scheme when clicking on links (eg. clicking on a link to linkedin.com in a search could/should open the linkedin application). [1]: https://developer.android.com/training/app-links/index.html and https://developers.google.com/digital-asset-links/v1/create-statement
Note that I didn't speak about how to avoid third-party applications claiming to support all the domains ever, for example.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/277.