[openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

Anton Khorev notifications at github.com
Sat Apr 26 06:46:28 UTC 2025


AntonKhorev left a comment (openstreetmap/openstreetmap-website#5736)

I'm merging this but I couldn't get it fully working, as well as pwas with protocol handler.

It should work in Chromium on Linux, the browser sees that the pwa has the protocol handler:
![image](https://github.com/user-attachments/assets/6c941882-f37b-4aa8-be3e-832f662abd72)

Then I think it should create a `.desktop` file, which happens for me, but the desktop file doesn't contain the `MimeType` entry to associate with the protocol. I go it working by manually creating a `.desktop` file with `MimeType` and `Exec=/snap/bin/chromium --profile-directory=Default --app=http://127.0.0.1:3000/?geouri=%u`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5736#issuecomment-2831908277
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5736/c2831908277 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250425/6292babe/attachment.htm>


More information about the rails-dev mailing list