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
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:
parent
97ef73206c
commit
0296bff3c9
|
|
@ -8,6 +8,8 @@
|
||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
<link rel="manifest" href="/manifest.webmanifest" />
|
||||||
<meta name="theme-color" content="#0047AB" />
|
<meta name="theme-color" content="#0047AB" />
|
||||||
<meta name="apple-mobile-web-app-title" content="NextGen Learning" />
|
<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="application-name" content="NextGen Learning" />
|
||||||
<meta name="description" content="NextGen Learning - School Management System with Learning Management (LMS) and Student Management (SMS) modules" />
|
<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" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
|
|
||||||
|
|
@ -9,15 +9,15 @@
|
||||||
"orientation": "portrait-primary",
|
"orientation": "portrait-primary",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/nextgen-logo.jpeg",
|
"src": "/pwa-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/jpeg",
|
"type": "image/png",
|
||||||
"purpose": "any maskable"
|
"purpose": "any maskable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/nextgen-logo.jpeg",
|
"src": "/pwa-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/jpeg",
|
"type": "image/png",
|
||||||
"purpose": "any maskable"
|
"purpose": "any maskable"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,10 @@ import { syncEngine } from './lib/sync';
|
||||||
import { useOfflineQueue } from './lib/offlineQueue';
|
import { useOfflineQueue } from './lib/offlineQueue';
|
||||||
import { ToastProvider } from './components/Toast';
|
import { ToastProvider } from './components/Toast';
|
||||||
import { ConfirmationProvider } from './hooks/useConfirmation';
|
import { ConfirmationProvider } from './hooks/useConfirmation';
|
||||||
|
import { registerSW } from 'virtual:pwa-register';
|
||||||
|
|
||||||
|
// Register PWA service worker for offline & installability
|
||||||
|
registerSW({ immediate: true });
|
||||||
|
|
||||||
// Initialize Offline Capabilities
|
// Initialize Offline Capabilities
|
||||||
initDB().then(() => {
|
initDB().then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue