fix(pwa): add iOS meta tags, PNG icon manifest declarations, and register Service Worker
Build and Push Docker Images / build (web) (push) Waiting to run Details
Build and Push Docker Images / build (worker) (push) Waiting to run Details
Build and Push Docker Images / deploy (push) Blocked by required conditions Details
Build and Push Docker Images / build (api) (push) Successful in 1m6s Details
Build and Push Docker Images / build (nextgen) (push) Has been cancelled Details
Build and Push Docker Images / build (musicseerr) (push) Has been cancelled Details

This commit is contained in:
fchinembiri 2026-07-29 21:53:33 +02:00
parent 97ef73206c
commit 0296bff3c9
3 changed files with 10 additions and 4 deletions

View File

@ -8,6 +8,8 @@
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#0047AB" />
<meta name="apple-mobile-web-app-title" content="NextGen Learning" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="application-name" content="NextGen Learning" />
<meta name="description" content="NextGen Learning - School Management System with Learning Management (LMS) and Student Management (SMS) modules" />
<link rel="preconnect" href="https://fonts.googleapis.com" />

View File

@ -9,15 +9,15 @@
"orientation": "portrait-primary",
"icons": [
{
"src": "/nextgen-logo.jpeg",
"src": "/pwa-192x192.png",
"sizes": "192x192",
"type": "image/jpeg",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/nextgen-logo.jpeg",
"src": "/pwa-512x512.png",
"sizes": "512x512",
"type": "image/jpeg",
"type": "image/png",
"purpose": "any maskable"
}
]

View File

@ -7,6 +7,10 @@ import { syncEngine } from './lib/sync';
import { useOfflineQueue } from './lib/offlineQueue';
import { ToastProvider } from './components/Toast';
import { ConfirmationProvider } from './hooks/useConfirmation';
import { registerSW } from 'virtual:pwa-register';
// Register PWA service worker for offline & installability
registerSW({ immediate: true });
// Initialize Offline Capabilities
initDB().then(() => {