organicmaps.github.io icon indicating copy to clipboard operation
organicmaps.github.io copied to clipboard

Google Play, Huawei Appgallery links doesn't work at https://organicmaps.app/support-us/ in desktop browser

Open dbf256 opened this issue 3 years ago • 6 comments

<a href="market://details?id=app.organicmaps">Google Play</a>,
<a href="appmarket://details?id=app.organicmaps">Huawei Appgallery</a>

It is handled by mobile browser, but doesn't work on a desktop, maybe add some fallback?

dbf256 avatar Nov 24 '21 06:11 dbf256

A JS code that detects desktops (is it already on the site?) and replaces links with something else?

biodranik avatar Sep 17 '23 06:09 biodranik

Is there a reason for not using web URLs (e.g. https://play.google.com/) in the first place?

reinhart1010 avatar Sep 22 '23 17:09 reinhart1010

Do web urls open reviews exactly in the same way as market urls?

biodranik avatar Sep 22 '23 19:09 biodranik

The market:// and appmarket:// urls are actually URIs which do not correspond to an Internet service (e.g. Google Play or OpenStreetMap), and it means different OSes will intepret how these links are handled.

In Android, Google Play Store and F-Droid are some of the apps that can open and intepret the market:// URIs. But others like Windows and iOS will look for installed apps that can open and interpret this URI, and if there isn't one, they will fail.

Replacing these links to web URLs (like https://play.google.com) will do, and speaking of privacy, users of these app stores should not bother with the change as they already accepted the terms in their respective app store apps.

reinhart1010 avatar Sep 23 '23 04:09 reinhart1010

What is actually needed:

  1. Show market:// and other URL schemes only to android users.
  2. Show https:// links for all other operating systems.

Can you please help to implement that?

biodranik avatar Oct 08 '23 11:10 biodranik

Check the JS example at this page (see at the bottom): https://omaps.app/api

biodranik avatar Oct 08 '23 11:10 biodranik