95e02aca57
- Add @ducanh2912/next-pwa with NetworkFirst runtime caching (24h, 200 entries) - Disabled in development to avoid SW interference - Generate icon-192.png, icon-512.png, apple-touch-icon.png from SVG - Update manifest.json to use PNG icons (required for Android install prompt) - Add apple-touch-icon + appleWebApp metadata to layout - Add /offline fallback page shown when network unavailable Offline behavior: cached reads work on all platforms; background sync for new events not supported (iOS Safari has no Background Sync API). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
535 B
JSON
25 lines
535 B
JSON
{
|
|
"name": "Grow — Suivi bébé",
|
|
"short_name": "Grow",
|
|
"description": "Suivez les activités de votre nouveau-né",
|
|
"start_url": "/dashboard",
|
|
"display": "standalone",
|
|
"background_color": "#f8fafc",
|
|
"theme_color": "#4f46e5",
|
|
"orientation": "portrait",
|
|
"icons": [
|
|
{
|
|
"src": "/icon-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/icon-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
]
|
|
}
|