mapswipe icon indicating copy to clipboard operation
mapswipe copied to clipboard

Make use of deeplinking

Open laurentS opened this issue 3 years ago • 1 comments

As part of the work on #35 I had to add deeplinks to the app (a link that opens in the app and brings you to a specific screen in it). We could explore making use of these to send users directly to a specific project. It could look like this:

  • an organisation publishes a project on the app, the backend gives them a url like mapswipe://map?project=123456 that they can share on social media, etc...
  • a user with the app taps this url, the app opens and takes them directly to the relevant project page.
  • if the project is already completely mapped, they get a little notice, and are sent back to the main project list, or something along those lines

While it does not really make a huge difference to the user (1 tap), it could enable project managers to share a link that's more customised, and maybe give orgs a reason to talk more about the app.

If the user taps this on a device without the app (whether phone or computer), they would just get an error. So in a second step, the links could be generated via the website, like https://mapswipe.org/start-mapping?project=123456 and the site would then redirect as above, or show a page offering to install the app if not available.

This would be fairly easy to implement technically (mostly adapting what is done on OSM login for the app), but thinking about a good UX could make it really nice. Could be a nice little project for outside junior contributors who want something self contained and highly visible.

laurentS avatar Feb 10 '22 10:02 laurentS

Would it be possible/ interesting to add functionality for published but "hidden" projects that are only accessible via a deeplink?

danbjoseph avatar Mar 17 '22 15:03 danbjoseph