All Questions
3 questions
1
vote
0
answers
314
views
SignalR in service worker
Is it possible to use SignalR instead of firebase to send notification in Service Worker?
so that the notification can be shown if the user's browser is closed.
Thank you for helping me with my code.
...
2
votes
0
answers
952
views
What is error The script has an unsupported MIME type ('text/html') in vuejs and nodejs when use service worker and web-push
i have some code in vuejs and nodejs to push notification . i use service worker and web-push library.
I have this code in vuejs in help.js file :
function urlBase64ToUint8Array(base64String) {
...
13
votes
1
answer
11k
views
Vue pwa with firebase cloud messaging not working properly
im trying the following code:
navigator.serviceWorker.register('service-worker.js')
.then((registration) => {
const messaging = firebase.messaging().useServiceworker(registration)...