Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App needs to intercept requests to http://www.cyclestreets.net/ #94

Open
mvl22 opened this issue Feb 6, 2016 · 2 comments
Open

App needs to intercept requests to http://www.cyclestreets.net/ #94

mvl22 opened this issue Feb 6, 2016 · 2 comments

Comments

@mvl22
Copy link
Member

mvl22 commented Feb 6, 2016

Currently the app supports a custom namespace cyclestreets://... which is what it includes when launching a send-route-to-friend e-mail. However, this is not ideal, because:

a) It is useless if people don't have the app; and
b) If people who do have the app follow a link in Safari to cyclestreets.net URLs they end up in the mobile web interface which clearly will never be as superior as the native app.

I've noticed that apps like Twitter, YouTube increasingly seem to have some kind of system-level registration which means that a request in Safari gets intercepted by that app and the content at the URL gets opened in that native app, which is naturally the superior experience.

If this is possible, we should enable it, and scrap the cyclestreets:// namespace.

If this is a new iOS9 feature, it is fine to remove this for iOS8<, as it's not particularly useful while the custom namespace is sent in an e-mail.

@neilkachu
Copy link
Contributor

This is this urlscheme feature, twitter will have twitter:// registered on the system. This is an inherent issue when you have 2 interfaces to the same content. The best way round this is too look at the javascript based scripts available that will attempt to launch the app and if they fail re-direct users to the web interface. Then all cs share urls will point to this page, this is gist of it: http://stackoverflow.com/questions/13044805/how-to-check-if-an-app-is-installed-from-a-web-page-on-an-iphone

@mvl22
Copy link
Member Author

mvl22 commented Apr 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants