Android PWA Requirements: - Add mobile-web-app-capable meta tag for Android - Add application-name meta tag - Add prefer_related_applications: false to manifest - Add explicit icon sizes (192x192, 512x512) for both any and maskable - Add orientation: any for flexible display - Add lang and dir to manifest for proper localization - Add ?source=pwa to start_url for analytics - Add crossorigin="use-credentials" to manifest link - Add proper service worker registration in main.ts - Add vite-plugin-pwa/client types to env.d.ts This ensures Android recognizes it as a full PWA instead of creating a shortcut Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"name": "IndeedHub - Decentralized Media Streaming",
|
|
"short_name": "IndeedHub",
|
|
"description": "Stream films and content on the decentralized web powered by Nostr and Bitcoin",
|
|
"start_url": "/?source=pwa",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"orientation": "any",
|
|
"background_color": "#0a0a0a",
|
|
"theme_color": "#0a0a0a",
|
|
"prefer_related_applications": false,
|
|
"icons": [
|
|
{
|
|
"src": "/assets/images/app-icon.svg",
|
|
"sizes": "192x192",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/assets/images/app-icon.svg",
|
|
"sizes": "512x512",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/assets/images/app-icon.svg",
|
|
"sizes": "192x192",
|
|
"type": "image/svg+xml",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "/assets/images/app-icon.svg",
|
|
"sizes": "512x512",
|
|
"type": "image/svg+xml",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"categories": ["entertainment", "video", "streaming"],
|
|
"lang": "en-US",
|
|
"dir": "ltr"
|
|
}
|