Fix: manifest.json modernisiert — id, scope, screenshots, prefer_related_applications — SW by-v503, APP_VER 480

This commit is contained in:
rene 2026-04-29 15:01:14 +02:00
parent 977fbeb0fd
commit 414b7131e8
3 changed files with 108 additions and 22 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '479'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '480'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {

View file

@ -1,20 +1,83 @@
{
"id": "/",
"name": "Ban Yaro — Die Hunde-Plattform",
"short_name": "Ban Yaro",
"description": "Alles rund um deinen Hund. Von Welpe bis Opa.",
"start_url": "/",
"scope": "/",
"display": "standalone",
"orientation": "portrait-primary",
"background_color": "#FAF7F2",
"theme_color": "#C4843A",
"lang": "de",
"categories": ["lifestyle", "social"],
"dir": "ltr",
"categories": [
"lifestyle",
"social"
],
"prefer_related_applications": false,
"icons": [
{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
{ "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
{ "src": "/icons/icon-180.png", "sizes": "180x180", "type": "image/png", "purpose": "any" },
{ "src": "/icons/icon-192-any.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
{ "src": "/icons/icon-512-any.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-192-any.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icons/icon-512-any.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"screenshots": [
{
"src": "/img/screenshots/screen-1.jpg",
"sizes": "920x2000",
"type": "image/jpeg",
"form_factor": "narrow",
"label": "Tagebuch & Erinnerungen"
},
{
"src": "/img/screenshots/screen-2.jpg",
"sizes": "920x2000",
"type": "image/jpeg",
"form_factor": "narrow",
"label": "Karte & Gassi-Spots"
},
{
"src": "/img/screenshots/screen-3.jpg",
"sizes": "920x2000",
"type": "image/jpeg",
"form_factor": "narrow",
"label": "Gesundheit & Termine"
},
{
"src": "/img/screenshots/screen-4.jpg",
"sizes": "920x2000",
"type": "image/jpeg",
"form_factor": "narrow",
"label": "Giftköder-Alarm"
},
{
"src": "/img/screenshots/screen-5.jpg",
"sizes": "920x2000",
"type": "image/jpeg",
"form_factor": "narrow",
"label": "Installation ohne App Store"
}
],
"share_target": {
"action": "/share",
@ -22,28 +85,51 @@
"enctype": "multipart/form-data",
"params": {
"title": "title",
"text": "text",
"url": "url",
"files": [{ "name": "media", "accept": ["image/*", "video/*"] }]
"text": "text",
"url": "url",
"files": [
{
"name": "media",
"accept": [
"image/*",
"video/*"
]
}
]
}
},
"shortcuts": [
{
"name": "Tagebuch",
"url": "/#diary",
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
"name": "Tagebuch",
"url": "/#diary",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192"
}
]
},
{
"name": "Widget",
"short_name": "Widget",
"name": "Widget",
"short_name": "Widget",
"description": "Nächste Erinnerung + zufälliges Tagebuchbild",
"url": "/#widget",
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
"url": "/#widget",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192"
}
]
},
{
"name": "Giftköder melden",
"url": "/#poison",
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
"name": "Giftköder melden",
"url": "/#poison",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192"
}
]
}
]
}
}

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v502';
const CACHE_VERSION = 'by-v503';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten