iOS only delivers Web Push to a Home-Screen PWA and ignores SVG apple-touch-icons, and Android can't use SVG notification icons — so the SVG-only icons broke push on mobile while desktop worked. Add 180/192/512 PNG icons (rendered from the orbit mark) and point the manifest + apple-touch-icon at them. Push delivery code untouched.
18 lines
766 B
JSON
18 lines
766 B
JSON
{
|
|
"name": "Tchatou — Le tchat français",
|
|
"short_name": "Tchatou",
|
|
"description": "Le tchat français, en direct. Salons publics, messages privés, sans inscription.",
|
|
"lang": "fr",
|
|
"start_url": "/app/",
|
|
"scope": "/app/",
|
|
"display": "standalone",
|
|
"orientation": "portrait-primary",
|
|
"background_color": "#0d1b3e",
|
|
"theme_color": "#1452cc",
|
|
"icons": [
|
|
{ "src": "/app/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
|
|
{ "src": "/app/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
|
|
{ "src": "/app/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" },
|
|
{ "src": "/app/orbit-icon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" }
|
|
]
|
|
}
|