Push subscription has unsubscribed or expired, with statusCode 410, in less then 24 hours.  I'm using web-push to send notifications with fcm-endpoint & vapidDetails. It works fine for few hours, I can send notifications. But just after few h...
I have a web application. I want to use the HTML 5 inbuilt notifications API to do push notifications from the server when the user is on a particular page. Is it possible?...
I am currently facing an issue with some Chrome (Chromium) version where the PushManager.subscribe promise from a ServiceWorker stays in a pending state.  The code itself is pretty simple :  return serviceWorkerRegistration.pushManager.subscribe({...
Here is a nice documentation on how to implement Google Cloud Messaging (GCM) in Chrome. But I do not found any reference here or anywhere how to subscribe to a topic using javascript (for Chrome).  Here I have found a reference how to do the task fo...
I am using FCM to handle push notifications, but notification is coming in data key instead of notification.   Here is the code I am using to handle new message and show as notification. I am seeing notification with all options and data as I specifi...
I have a problem where a function has its implementation changed in newer browsers. I want to call the function accordingly as per the implementation.  Notification.requestPermission().then(function (permission) {...})   This was called previously li...
I've implemented the Push WebAPI in my web application using Service Worker as many articles explain on the web. Now I need to store some data inside IndexedDB to make them available while the web app is closed (chrome tab closed, service worker...
I have a PWA website and has my own service-worker.js file for caching. For some reasons, I want to use a push notification service on my web site. I should know the answers to these questions:  1) How can I use multi-service workers in website root...
Currently i have push subscription from many chrome browser with like this method,  swr.pushManager.subscribe({userVisibleOnly: true})     .then(function (subscription) {         if (subscription) {             console.log("success::" + JSON....
I'm using webpush and ran into a problem. I can make it work fine with server and database on chrome. But when I try to register/subscribe from my safari browser it gives me this error:   TypeError: undefined is not an object (evaluating 'n.p...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.