Open xmatthewx opened 8 years ago
Not sure about difficulty, but I was just noticing that we don't open any Webmaker URL schemes in the app on Android (at least in Marshmallow), which seems like a missed opportunity.
See: Settings -> Apps -> Webmaker -> Open By Default -> Supported links
In theory it does seem like we should be able to "hack" in-app links to other projects in this fashion. Good call!
Any thoughts on implementing this @ryanw-se ?
@k88hudson might know the history. There was a problem that made this difficult for some reason.
cc @alanmoo
FWIW: I was talking about inbound links outside of Webmaker being intercepted in the OS and re-directed into the app automagically (similar to app:// URLs on iOS).
Ideally, though, we should do both inbound and outbound Webmaker project link "hijacking". :+1:
@gvn I actually really like that idea, here are my thoughts: I can implement a feature in the new router that will allow you to hook onto the router.callExt(url)
method and we can see whats being opened from there, if its a Webmaker project we can handle it within the app.
We'll keep this conversation open. Things to consider:
I went ahead and implemented a hook within router.openExternal(url)
, we can use this for users running pre-android 6 devices, and also provide the enhanced experience for Android 6 and above users.
Related: Deep link support in Android Marshmallow, #685.
When a user adds a link to URL, they could drop in a link to a project or user. Can we intercept and load these before going to the browser? Easy or hard to implement?