I tested Ted’s branch that implements my suggestion for url-dispatcher on a device, and it works up to the point that clicking on an intent:// link in the browser launches the google maps webapp.
However at this point the app just displays a blank surface because the webview is trying to load an intent:// URL, which it doesn’t know how to handle, so it delegates it to the system (URL dispatcher), which dispatches it to the app again, and so on indefinitely (thus using up CPU, making the app unresponsive and eventually crashing unity8). So we really need a mechanism in the webapp-container to allow individual webapps to specify a way to rewrite URLs they are invoked with. The google maps webapp would then rewrite the intent:// URL to a https://maps.google.com/* URL. ** Also affects: url-dispatcher Importance: Undecided Status: New ** No longer affects: url-dispatcher ** Changed in: webbrowser-app Status: New => Confirmed ** Changed in: webbrowser-app (Ubuntu) Status: Invalid => Confirmed ** Changed in: webbrowser-app (Ubuntu RTM) Status: Invalid => Confirmed -- You received this bug notification because you are a member of DX Packages, which is subscribed to url-dispatcher in Ubuntu. https://bugs.launchpad.net/bugs/1407709 Title: Google Maps and Here Maps should handle custom intent:// URLs Status in The Webapps-core project: New Status in Web Browser App: In Progress Status in url-dispatcher package in Ubuntu: In Progress Status in webbrowser-app package in Ubuntu: Confirmed Status in url-dispatcher package in Ubuntu RTM: In Progress Status in webbrowser-app package in Ubuntu RTM: Confirmed Bug description: ubuntu-rtm image 184 The maps apps in the system should register and respond to appropriate urls from the browser (not sure of the format, map:// or directions:// - need to check) Steps to reproduce: 1) open browser 2) type "Asai Belmont MA" in the url bar and press enter 3) this will do a google search for the resturant 4) click on the "Directions" button Expected result: - One of the maps apps should open displaying directions for the resturant Actual results: - no app is launched To manage notifications about this bug go to: https://bugs.launchpad.net/webapps-core/+bug/1407709/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp

