- Created service worker (public/sw.js) with caching strategies - Cache-first strategy for static assets - Stale-while-revalidate for API responses and pages - Network-first fallback strategy - Implemented offline fallback page (/offline) - Updated manifest.json with complete PWA metadata - Added service worker registration in app layout - Created ServiceWorkerRegistration component for client-side registration - Generated SVG icons for PWA (192x192 and 512x512) - Added PWA meta tags for iOS Safari support Validates Requirements: 4.1, 4.3, 4.4
37 lines
868 B
JSON
37 lines
868 B
JSON
{
|
|
"name": "Ultimate Lists",
|
|
"short_name": "Lists",
|
|
"description": "The ultimate todo list app with advanced task management",
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"orientation": "portrait-primary",
|
|
"background_color": "#ffffff",
|
|
"theme_color": "#3B82F6",
|
|
"categories": ["productivity", "utilities"],
|
|
"icons": [
|
|
{
|
|
"src": "/icon-192.svg",
|
|
"sizes": "192x192",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/icon-512.svg",
|
|
"sizes": "512x512",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any maskable"
|
|
}
|
|
],
|
|
"screenshots": [],
|
|
"shortcuts": [
|
|
{
|
|
"name": "New List",
|
|
"short_name": "New List",
|
|
"description": "Create a new list",
|
|
"url": "/?action=new-list",
|
|
"icons": []
|
|
}
|
|
],
|
|
"prefer_related_applications": false
|
|
} |