← Back to team overview

ubuntu-phone team mailing list archive

Re: URL Dispatcher progress?

 

On Fri, 2013-11-29 at 19:52 +0000, Sam Bull wrote:

> Has there been any progress on the URL dispatcher supporting additional
> protocols?
> 
> We need to support the bitcoin: protocol from our app, so that users can
> purchase things by clicking a link in the browser, or scanning a
> bitcoin: link from a QR code.
> 
> Without this, users would be expected to do some awkward copy/paste
> between apps to make a payment.


No solid progress yet, but it's on the "need to get done list."  Right
now the discussion is revolving around the idea of how would
applications represent the URL they want.

Currently, the idea winning is a triplet of protocol, domain and suffix
where the most precise entry "wins" but there would be a possibility for
the user to change the ranking.  So for example you could have:

  ('http', 'facebook.com', null)

for the Facebook app and all apps that had a "open my Facebook page"
item would have them open in the Facebook app.  Where as something like
the webbrowser would install:

  ('http', null, null)

So generic unknown webpages would open there.  The facebook app would be
chosen for Facebook because it's more specific, but there'd be a way for
users to open Facebook links in the browser directly if they so choose.

Thoughts?

Ted

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References