Githawk: URL Schemes & Opener Support

Created on 24 Sep 2017  ·  16Comments  ·  Source: GitHawkApp/GitHawk

Opener is an iOS app which basically lets the user choose where to open links, basically takes advantage of URL schemes.

We should add support for basic URL schemes to deeplink to certain UI within the app. Namely:

freetime://issue/rnystrom/GitHawk/418 would go to this issue!
freetime://repository/rnystrom/GitHawk
freetime://notifications

(Also aware that we may want to rename our URL Scheme??)

Once we add this feature, we should add our app to the Opener manifest. It's not a perfect solution, but it would be a nice companion app to start opening GitHub stuff in our app rather than Safari!

🆕 feature request

Most helpful comment

Awesome, just tried this out and seems to work! I've got https://github.com/timonus/OpenerManifest/tree/githawk waiting in the wings for when this version of GitHawk makes it to the App Store.

All 16 comments

Also worth noting that this will go slightly hand-in-hand with any work on home screen widgets, apple watch stuff, etc hence why I've given it a mid priority and not low!

I want to take a look at this soon :)

Eg. open repo or filing an issue in one

Sent with GitHawk

Would happily integrate into Opener once there’s a URL scheme 😊

Sent with GitHawk

URL scheme architecture is on my mind for the next release!

Sent with GitHawk

Somebody could take a look at this now we have routing in place :)

I plan to link to repositories and issues in GitHawk as soon as the App Store version of GitHawk supports this.

image

@rnystrom: Is there anything I can do to assist?

I'm not sure if the url format representing routes is going to change and I'm also not able to tell if the app currently looks at URL's when launched.

But if you give me some specific tasks I can move this forward.

@palmin the App Store version should be able to handle deep links now using the route scheme in GitHawkRoutes

Sent with GitHawk

@rnystrom I would expect
freetime://RepoRoute?owner=GitHawkApp&branch=master&repo=GitHawk
to open the overview screen for GitHawk but it opens the app without going to any particular screen.

Am I misunderstanding how these deep links are supposed to work?

Hmm no that should be right. Let me fire up a sample app to try and debug

Sent with GitHawk

Awesome, just tried this out and seems to work! I've got https://github.com/timonus/OpenerManifest/tree/githawk waiting in the wings for when this version of GitHawk makes it to the App Store.

deep-loop

You guys 😍😭🙏

Sent with GitHawk

For the shortcut fans out there, have created a shortcut as well to open the github repo.

https://www.icloud.com/shortcuts/61bf54353a914d62983f9e1c1bf7a02a

I'll update it to have option to open issues/PR and from clipboard as well. For now you can open it from any share sheet which have urls.

Sent with GitHawk

@rizwankce you're amazing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Iron-Ham picture Iron-Ham  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

viktorgardart picture viktorgardart  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

rnystrom picture rnystrom  ·  3Comments