GetTokenOptions
interface
Options for getToken()
Properties
serviceWorkerRegistration
</>The service worker registration for receiving push messaging. If the registration is not provided explicitly, you need to have a firebase-messaging-sw.js at your root location.
serviceWorkerRegistration: ServiceWorkerRegistration;
vapidKey
</>The VAPID key used to authenticate the push subscribers to receive push messages only from sending servers that hold the corresponding private key.
vapidKey: undefined | string;