Hacker News new | ask | show | jobs
by AYBABTME 4920 days ago
Bhe, Github handles all the github.com links. Yet, when it's not something supported by their app (like 95% of the links I stumble upon), they simply redirect the handling to a browser.

The result is:

- Click github link.

- Prompt menu : which application do you wish to use? List of browsers and the github app.

- Click on github.

- Github loads, then...

- Prompt menu : which application do you wish to use? List of browsers.

I could use the 'Always' option, but then the github app wouldn't recognize the links it actually handles.

1 comments

This is a problem in Android OS. App have to handle all URLs with a certain prefix (or maybe for a while domain?), not a regex pattern they want. Google itself got burned by this, and they didn't even bother building a workaround like github did. It was just mostly impossible to shop for a Nexus device on a Nexus device, since Play hijacked all play.google.com links and then failed to actually show content, since Nexus devices weren't in the native Play Store