Skip to main content
Version: 1.3.x

core.engagespot.getserviceworkerregistration

Home > @engagespot/core > Engagespot > getServiceWorkerRegistration

Engagespot.getServiceWorkerRegistration() method

Registers the service worker to the browser

Signature:
getServiceWorkerRegistration(): Promise<ServiceWorkerRegistration | null>;
Returns:

Promise<ServiceWorkerRegistration | null>