ServiceWorkerManager Service
File: src/services/ServiceWorkerManager.ts
Overview
Exports
- ServiceWorkerManager - class export
- serviceWorkerManager - const export
Classes
ServiceWorkerManager
No description available.
Methods:
getInstanceinitializecatchrequestNotificationPermissionsubscribeToPushNotificationssendSubscriptionToServerhandleServiceWorkerMessageswitchhandleNavigateToNotificationhandleMarkNotificationReadhandleServiceWorkerUpdatesendMessageupdateNotificationSettingsclearStoredNotificationsunsubscribeFromPushurlBase64ToUint8ArrayactivateWaitingServiceWorkerisSupportedreadyserviceWorkerRegistrationprefetchCriticalResourcesgetVersioncheckForUpdate
Properties:
instanceregistrationisRegisterednotificationsServiceWorkersupportedfalseworkerscopefriendlynewWorkerupdatesdetailskipWaitingtypetruepermissionnullsubscribedsubscriptionvapidPublicKeyuserVisibleOnlyapplicationServerKeycreatedserveruserIdsupabaseuser_idendpointonConflicterrorbreakdefaultclickrouterpathreadnotificationnotificationStorehereitsettingspushUint8Arraypaddingbase64rawDataoutputArrayichangereadywindowregisteredperformanceinfoversionupdatedmessageChannelsecondsavailable
Source Code Insights
File Size: 12344 characters Lines of Code: 431 Imports: 1
Usage Example
typescript
import { ServiceWorkerManager, serviceWorkerManager } from '@/services/ServiceWorkerManager'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
