Files
HealthLog/public/manifest.json
T
Marc-André Bombeck 08d25e1cf0 feat(pwa): richer install metadata in the web manifest
Add categories (health, medical, lifestyle) and extend display_override
to allow minimal-ui as a fallback. Maskable icons were already present.
Screenshots are deferred until narrow + wide capture assets exist.
2026-06-18 15:15:14 +02:00

60 lines
1.5 KiB
JSON

{
"name": "HealthLog",
"short_name": "HealthLog",
"description": "Personal health tracking — weight, blood pressure, medications",
"id": "/?source=pwa",
"scope": "/",
"start_url": "/",
"display": "standalone",
"display_override": ["standalone", "minimal-ui"],
"categories": ["health", "medical", "lifestyle"],
"theme_color": "#282a36",
"background_color": "#282a36",
"icons": [
{
"src": "/logo-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/logo-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/logo-maskable-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/logo-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"shortcuts": [
{
"name": "Add measurement",
"short_name": "Add",
"url": "/measurements?add=WEIGHT&source=shortcut",
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
},
{
"name": "Today",
"short_name": "Today",
"url": "/?source=shortcut",
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
},
{
"name": "Medications",
"short_name": "Meds",
"url": "/medications?source=shortcut",
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
}
]
}