Fix: manifest.json modernisiert — id, scope, screenshots, prefer_related_applications — SW by-v503, APP_VER 480
This commit is contained in:
parent
977fbeb0fd
commit
414b7131e8
3 changed files with 108 additions and 22 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
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 = (() => {
|
const App = (() => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,83 @@
|
||||||
{
|
{
|
||||||
|
"id": "/",
|
||||||
"name": "Ban Yaro — Die Hunde-Plattform",
|
"name": "Ban Yaro — Die Hunde-Plattform",
|
||||||
"short_name": "Ban Yaro",
|
"short_name": "Ban Yaro",
|
||||||
"description": "Alles rund um deinen Hund. Von Welpe bis Opa.",
|
"description": "Alles rund um deinen Hund. Von Welpe bis Opa.",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
|
"scope": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"orientation": "portrait-primary",
|
"orientation": "portrait-primary",
|
||||||
"background_color": "#FAF7F2",
|
"background_color": "#FAF7F2",
|
||||||
"theme_color": "#C4843A",
|
"theme_color": "#C4843A",
|
||||||
"lang": "de",
|
"lang": "de",
|
||||||
"categories": ["lifestyle", "social"],
|
"dir": "ltr",
|
||||||
|
"categories": [
|
||||||
|
"lifestyle",
|
||||||
|
"social"
|
||||||
|
],
|
||||||
|
"prefer_related_applications": false,
|
||||||
"icons": [
|
"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-192.png",
|
||||||
{ "src": "/icons/icon-180.png", "sizes": "180x180", "type": "image/png", "purpose": "any" },
|
"sizes": "192x192",
|
||||||
{ "src": "/icons/icon-192-any.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
|
"type": "image/png",
|
||||||
{ "src": "/icons/icon-512-any.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
|
"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": {
|
"share_target": {
|
||||||
"action": "/share",
|
"action": "/share",
|
||||||
|
|
@ -24,26 +87,49 @@
|
||||||
"title": "title",
|
"title": "title",
|
||||||
"text": "text",
|
"text": "text",
|
||||||
"url": "url",
|
"url": "url",
|
||||||
"files": [{ "name": "media", "accept": ["image/*", "video/*"] }]
|
"files": [
|
||||||
|
{
|
||||||
|
"name": "media",
|
||||||
|
"accept": [
|
||||||
|
"image/*",
|
||||||
|
"video/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"shortcuts": [
|
"shortcuts": [
|
||||||
{
|
{
|
||||||
"name": "Tagebuch",
|
"name": "Tagebuch",
|
||||||
"url": "/#diary",
|
"url": "/#diary",
|
||||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/icons/icon-192.png",
|
||||||
|
"sizes": "192x192"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Widget",
|
"name": "Widget",
|
||||||
"short_name": "Widget",
|
"short_name": "Widget",
|
||||||
"description": "Nächste Erinnerung + zufälliges Tagebuchbild",
|
"description": "Nächste Erinnerung + zufälliges Tagebuchbild",
|
||||||
"url": "/#widget",
|
"url": "/#widget",
|
||||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/icons/icon-192.png",
|
||||||
|
"sizes": "192x192"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Giftköder melden",
|
"name": "Giftköder melden",
|
||||||
"url": "/#poison",
|
"url": "/#poison",
|
||||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/icons/icon-192.png",
|
||||||
|
"sizes": "192x192"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v502';
|
const CACHE_VERSION = 'by-v503';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue