git-point icon indicating copy to clipboard operation
git-point copied to clipboard

Add URL scheme support

Open timonus opened this issue 7 years ago • 4 comments

What Currently Happens?

There's no way to open GitPoint to a specific GitHub entity via URL scheme.

What Would You Like To Happen?

It would be nice if you could launch GitPoint to specific GitHub entities (repos, users, commits, etc.) via a URL scheme, requested on Twitter here.

timonus avatar Feb 20 '18 17:02 timonus

Would Deep Linking be what we are looking for?

SammyIsra avatar Feb 28 '18 18:02 SammyIsra

Yeah, that would probably be sufficient. I need to be able to fire a URL with an app-specific scheme like gitpoint:// that can open particular GitHub entities.

timonus avatar Feb 28 '18 23:02 timonus

That's exactly it @SammyIsra :)

So in our routes file, we already have our prefix set. It's only a matter of adding paths to each of screens as well (see here: https://reactnavigation.org/docs/deep-linking.html)

Will definitely need some testing (both iOS and Android) once the paths are in but I don't think it should be too complicated!

Can get to it by next week at the latest if no one hops on this first 🚀

housseindjirdeh avatar Mar 01 '18 03:03 housseindjirdeh

Excellent, thanks!

timonus avatar Mar 19 '18 22:03 timonus