josephfrazier / reported-web

Web front-end for https://twitter.com/Reported_NYC: https://reported-web.herokuapp.com
https://reported-web.herokuapp.com
MIT License
10 stars 1 forks source link

Add way to open app directly to photo capture interface #367

Open josephfrazier opened 2 years ago

josephfrazier commented 2 years ago

From https://reportedcab.slack.com/archives/C9VNM3DL4/p1658092709231549:

I just ran into someone on Vanderbilt Open Streets' Street Infrastructure Stroll event who described how one of the reasons he uses a native app is that it's fewer clicks to submit a photo on the spot while riding. One idea he came up with is a way to launch the web app from the phone home screen and go directly into the file upload interface, so that he can click the camera button and snap the photo on the spot.

I'm thinking that a URL query parameter or hash could be used to have the browser click the <input> element once the page has loaded, assuming the browser will allow that without interaction.