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 implementing the Webpush ruby gem to send push notifications to users of my website.   Server code:    Webpush.payload_send({       message: notification.message,       url: notification.url,  # I can't figure out how to access this key...
Is it possible to catch unsubscribe event ?  This is the code im using to subscribe the user to the notifications  if ('serviceWorker' in navigator) {     navigator.serviceWorker.ready.then(function(reg) {       reg.pushManager.subscribe({...
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 have created a basic app trying to send Push Notifications, using the web-push node library. However, I am always confronted to the error  :" You must at least pass in an endpoint"  Which I do not understand, because I "suscribe" (...
I´m  a web programmer and I'm experienced in regular synchronous and asynchronous web services. So the normal way to get data from a web server is to request it (pull it) or to establish a permanent connection.  Now I'm asking myself if ther...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.