CodeHubApp / CodeHub

CodeHub is an iOS application written using Xamarin
http://www.codehub-app.com
22.84k stars 614 forks source link

URL scheme and deep linking #19

Open prud opened 10 years ago

prud commented 10 years ago

CodeHub is a great app and I'd really like to be able to launch it from within my app (which shows GitHub updates and links).

Another GitHub iOS app called iOctocat provides a very simple way for this. Their scheme is ioc:// and every GitHub URL can be appended to achieve deep linking: http://ioctocat.com/faq/ (see last question).

Example: codehub://github.com/thedillonb/codehub/ --> opens CodeHub and navigates to this repository

This would be a great addition and some other developers would use it as well if you document it somewhere ;)

Thanks for your consideration!

thedillonb commented 10 years ago

Ah! What coincidence! I was just starting on support for that last night. I'm planning on having it in on the next release. Great suggestion!

prud commented 10 years ago

great! can't wait for it

Miladiir commented 10 years ago

That would be really sweet. I was just about to post an issue regarding this.

When opening the Link to the repository in Codehub's about screen, the link gets opened in a browser window. Including deeplinking and schemes would of course fix that.

prud commented 10 years ago

Seems like codehub:// support was included in 2.2.0? Looks good and deep linking is working for lots of links as well. Unfortunately doesn't work for /commit/ and /compare/, but those are definitely not the most important ones.

Thanks!

thedillonb commented 10 years ago

Yeah, i've added what I deem to be 'preliminary' support for deep linking. I still have a lot of things I want to add, such as commit and compare to make it perfect. I wanted to get the big ones out of the way then fine tune for the other ones. Thanks for your feedback.