Fix iOS PWA installation and improve cross-platform compatibility - Fix manifest.json paths (use relative paths with ./ for iOS) - Update Apple Touch Icons structure to use organized folders - Add missing 180x180px icon requirement for iOS - Fix apple-mobile-web-app meta tags configuration - Add viewport-fit=cover for iPhone X+ notch support - Fix missing showInstallButton() method causing TypeError - Add complete showInstallBanner() and createInstallBanner() methods - Implement proper hideInstallPrompts() functionality - Add iOS-specific installation instructions modal - Fix event handling for install prompt dismissal - Restructure PWA icons into platform-specific folders: - ./logo/pwa/ios/ for Apple Touch Icons - ./logo/pwa/android/ for Android launcher icons - ./logo/pwa/windows11/ for Microsoft Tiles - Update manifest.json to reference correct icon paths - Add browserconfig.xml for Windows 11 tile configuration - Improve PWA registration script without conflicts - Add proper error handling for offline functionality - Integrate with existing PWA modules (install prompt, offline manager) - Add update notifications for new app versions - Enhanced detection for iOS Safari vs other browsers - Improved installation flow for different platforms - Better user feedback for unsupported installation methods - Added fallback instructions for manual installation - Add comprehensive PWA support detection - Implement proper iOS standalone mode detection - Add console logging for installation status tracking - Include developer utilities for PWA management Tested on: iOS Safari, Chrome, Edge, Firefox Resolves iOS PWA installation issues and improves overall PWA experience."
117 lines
2.6 KiB
JSON
117 lines
2.6 KiB
JSON
{
|
|
"name": "SecureBit.chat - Enhanced Security Edition",
|
|
"short_name": "SecureBit",
|
|
"description": "P2P messenger with military-grade cryptography and Lightning Network payments",
|
|
"start_url": "./",
|
|
"display": "standalone",
|
|
"background_color": "#1a1a1a",
|
|
"theme_color": "#ff6b35",
|
|
"orientation": "portrait-primary",
|
|
"scope": "./",
|
|
"lang": "en",
|
|
"dir": "ltr",
|
|
"categories": ["communication", "security", "productivity"],
|
|
"prefer_related_applications": false,
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-72x72.png",
|
|
"sizes": "72x72",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-128x128.png",
|
|
"sizes": "128x128",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-144x144.png",
|
|
"sizes": "144x144",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-152x152.png",
|
|
"sizes": "152x152",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-180x180.png",
|
|
"sizes": "180x180",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-256x256.png",
|
|
"sizes": "256x256",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-384x384.png",
|
|
"sizes": "384x384",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "./logo/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "./logo/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Create Channel",
|
|
"short_name": "Create",
|
|
"description": "Create a new secure channel",
|
|
"url": "./?action=create",
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Join Channel",
|
|
"short_name": "Join",
|
|
"description": "Join an existing secure channel",
|
|
"url": "./?action=join",
|
|
"icons": [
|
|
{
|
|
"src": "./logo/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |