banner



Are You Required To Register You Fireram?

Firebase FCM React Project issue: Failed to register a ServiceWorker

          browserErrorMessage: "Failed to register a ServiceWorker: The scrip            
has an unsupported MIME type ('text/html')

FirebaseError in console
          if ('serviceWorker' in navigator) {
navigator.serviceWorker.annals('../firebase-messaging-sw.js')
.and so(office(registration) {
panel.log('Registration successful, scope is:', registration.scope);
}).grab(role(err) {
console.log('Service worker registration failed, mistake:', err);
});
}

Source: https://medium.com/practical-code-labs/firebase-fcm-react-project-issue-failed-to-register-a-serviceworker-b9c5573caffa

Posted by: watlingtonthestive.blogspot.com

0 Response to "Are You Required To Register You Fireram?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel