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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1407709 Title: Google Maps and Here Maps should handle custom intent:// URLs To manage notifications about this bug go to: https://bugs.launchpad.net/webapps-core/+bug/1407709/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
