Remove PWA functionality and service worker infrastructure

Completely remove Progressive Web App features including VitePWA plugin, service workers, install prompts, and platform service PWA methods. Delete PWA component, service worker files, help images, and update build configurations. Simplify application architecture by removing PWA complexity while maintaining core functionality.
This commit is contained in:
Matthew Raymer
2025-07-18 07:49:34 +00:00
parent e038bb63d9
commit 8bc1c521ee
15 changed files with 6 additions and 1107 deletions

View File

@@ -207,5 +207,4 @@ export interface PlatformService {
/**
* Returns true if PWA is enabled (web only)
*/
readonly isPWAEnabled?: boolean;
}

View File

@@ -1302,9 +1302,6 @@ export class CapacitorPlatformService implements PlatformService {
// --- PWA/Web-only methods (no-op for Capacitor) ---
public registerServiceWorker(): void {}
public get isPWAEnabled(): boolean {
return false;
}
// Database utility methods
generateInsertStatement(

View File

@@ -166,7 +166,4 @@ export class ElectronPlatformService extends CapacitorPlatformService {
// --- PWA/Web-only methods (no-op for Electron) ---
public registerServiceWorker(): void {}
public get isPWAEnabled(): boolean {
return false;
}
}

View File

@@ -645,17 +645,6 @@ export class WebPlatformService implements PlatformService {
throw new Error("Camera rotation not implemented in web platform");
}
// --- PWA/Web-only methods ---
public registerServiceWorker(): void {
// PWA service worker is automatically registered by VitePWA plugin
// No manual registration needed
}
public get isPWAEnabled(): boolean {
// PWA is always enabled for web platform
return true;
}
/**
* Checks if running in a worker context
*/