Installable PWA with a share target; design for an item-based library
Android's share sheet (OsmAnd, Locus, mapy.com, ...) can now send GPX/FIT/GeoJSON/ZIP files to the installed app: the service worker parks them and the page offers to import them into a Tracks & Points folder, waiting through a login if needed. Manifest, app icon, a server-side fallback for /share-target. docs/library-design.adoc proposes replacing the file-based GpxStore with folders and items (stable ids, timestamps, tombstones, a change feed) as the base for syncing with OsmAnd and Locus.
This commit is contained in:
1 parent
e2461f794c
commit
25b87b94fe
14 files changed
+637
-5
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<!-- Full-bleed background so the same file works as a maskable icon;
|
||||
the artwork stays inside the central 80% safe zone. -->
|
||||
<rect width="512" height="512" fill="#1a1a1a"/>
|
||||
<path d="M120 380 C 170 330, 200 400, 250 350 S 330 300, 300 250" fill="none" stroke="#f2b632"
|
||||
stroke-width="18" stroke-linecap="round" stroke-dasharray="2 34"/>
|
||||
<path d="M330 110 a 70 70 0 0 1 70 70 c 0 52 -70 128 -70 128 s -70 -76 -70 -128 a 70 70 0 0 1 70 -70 z" fill="#fff"/>
|
||||
<circle cx="330" cy="180" r="26" fill="#1a1a1a"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 599 B |
Reference in new issue
Block a user