118 questions
0
votes
1
answer
153
views
Is jmt17.google.com web push server send another error when expired?
I my web push server I try send message to endpoint start with "jmt17.google.com" and I got error 404
A valid push subscription endpoint should be specified in the URL as such: https://fcm....
0
votes
0
answers
19
views
Notification not received by poling method set interval. on PWA using service workers
Here in my code when accessed on a PWA(Ipad in my example)
the API call is made successfully also the PWA asks for notification permissions but after that there is no notification received on the PWA
...
1
vote
1
answer
160
views
Can't use PushAPI on macOS Safari, returned endpoint is an empty string
My code works fine locally and in production with Chrome.
This is my Subscribe() function running in the browser when the user wants to enable notifications (I'm not using Apple's APN service, but ...
0
votes
0
answers
164
views
PushManager subscription - AbortError: DOMException: Error retrieving push-subscription - Firefox for Android
On Firefox for Android / Fennec (newest version) I cannot subscribe to push-notifications.
You can check it out on cleverpush.com.
It's the same problem as mine.
My script subscribe.js should do the ...
0
votes
0
answers
302
views
How can obtain deviceId in web application for sending push notification?
I am using a web application that receives notificaitons throught push service.
the notifications are going to send throught the FCM. My backend requires deviceId as in android OS. How can send such ...
0
votes
0
answers
545
views
Chrome extension with Firebase Cloud Messaging API: Defualt notification on msedge
I have programmed an Chrome Extension with Manifest Version 3, and it works very well in chrome with no problems. I use Firebase Cloud Messaging API V1 to get messages from my server to clients. ...
1
vote
0
answers
2k
views
sending push notification with vapid keys
can someone assist where i am doing mistake
generate vapid keys and store them
use push-api and store endpoint, p256dh and auth
send push notification using webPush protocol
but getting this at 3rd ...
0
votes
1
answer
1k
views
Push API endpoints from Push Services with complete overview [closed]
On Mozilla's PushSubscription.endpoint page, they have listed all browser compatibilities.
However, they do not state which Push Services are being used by each one of them. I figured, I might as well ...
1
vote
0
answers
149
views
Push event and window.open, open only one window
I have a website with a serviceWorker push event, and then a postMessage which sends back data. When this data is received, I open a window using window.open, but if I have like 3 tabs opened, the ...
1
vote
0
answers
439
views
Send Firebase data messages without requesting permission on Flutter Web?
Is there any way to send "data messages", i.e. messages that don't trigger a notification, using Firebase on Flutter Web?
The reason I want to do this is that I am developing an app intended ...
1
vote
0
answers
699
views
Push-API still not supported in Safari 16 (Technology Preview)?
We want to test if our implementation of web-push notifications will run in Safari 16 as well. So we downloaded the "Safari Technology Preview" 148 from https://developer.apple.com/safari/...
3
votes
0
answers
3k
views
Does FCM support push notification to PWA on iPhone?
I host a PWA website and I am trying to integrate push notifications to my users who may have the website open in a browser tab even if their phones are inactive. You notoriously can't send Push ...
2
votes
1
answer
2k
views
getRegistration().then gives just undefined
I am virtually a baby with Promise and serviceWorker things, and I have no idea why this happens.
I had watched a video about Web Push and Notifications.
https://youtu.be/ggUY0Q4f5ok
At 1:26 of the ...
0
votes
1
answer
615
views
Is there a way to utilize the Push API in Angular without displaying notifications?
I'm hoping to utilize the Push API to push data changes from the server to an Angular app, thus removing the need to constantly poll for changes. Is this possible? All I can find is SwPush which ...
0
votes
1
answer
276
views
Chrome: Serviceworker Won't Transition To Running State When Receiving Push Message
We have implemented an SDK to ease the process of sending and receiving Push Notification. However, recently we are facing an issue that results in receiving Generic Notification(i.e., This site has ...
0
votes
1
answer
489
views
How can push notifications be retracted?
I am implementing Push Notifications for the first time and exploring all of the features I can find, however I haven't been able to find anything about retracting or closing notifications.
I know ...
0
votes
1
answer
238
views
Integrating Push API Persistence
I'm trying to integrate persistent push notification with Push API in a PWA, i saw in the docs that it's possible to do that but i can't see any example or what so ever to do that, is there a tutorial ...
0
votes
0
answers
314
views
I need to create a web app which need push notification without FCM/GCM or APN
I need to send push notification even the site is closed, So I've tried service worker and web worker even web socket but it didn't works fine. It need FCM(Firebase Cloud messaging) to transfer ...
1
vote
0
answers
94
views
Is it possible to rescind a web push notification
In the scenario that a push service sends push messages to multiple user agents and they all call showNotificafion. After one user agent acknowledges the notification is it possible to close the shown ...
0
votes
0
answers
41
views
Is it possible to send Push Notification messages from another client directly?
The question is as follows:
User A registers with PushSubscription to get an endpoint URL and sends it to my server.
User B receives the endpoint URL of user A from my server.
User B send some ...
0
votes
1
answer
1k
views
Deploy instant oracle on Pivotal CloudFoundry for cx_Oracle
so im trying to push a python api with cx_oracle dependency which also need oracle instant client,but i couldnt found an tutorial to deploy instant client on pcf,is anybody ever do this before or have ...
3
votes
0
answers
595
views
How do I send a push notification using Push API with Vapid keys in Postman?
How do I send a push notification in postman, if I have the vapid keys and the subscriber? I have already configured the service worker, so thats not the question. I just want to send a simple request ...
0
votes
1
answer
385
views
If I redirect my domain, will i be able to send push to my old subscribers?
In my website, I've been asking my users for push permission and have been sending them push notifications by using Push API.
The thing is I want to redirect my domain from "www.example.com.xy" to "...
1
vote
1
answer
2k
views
How to implement desktop push notifications in an Angular 7 web application supporting Safari?
I implemented this feature using Firebase Cloud Messaging. But it is not working in Safari since it lack Push API support ( which the FCM is built upon). Have somebody implemented it in a proper ...
1
vote
1
answer
2k
views
Payload on client is null after sending notification via web-push-php
I am using web-push-php library by Minishlink (https://github.com/web-push-libs/web-push-php) to send push notifications to users. Push notification successfully arrives at the client but the payload ...
2
votes
1
answer
2k
views
Custom Push Service
In the context of pushing notifications to web-browsers, the PUSH SERVICE acts as interface between the SERVICE WORKER and APPLICATION SERVER.
My current understanding is that
Google FCM is the ...
5
votes
1
answer
743
views
How to handle a subscribed user logging out?
In an application I am building, it is possible for a logged in user to receive specific push notifications related to activity their user account is participating in or subscribing to.
As it stands ...
0
votes
1
answer
89
views
Pushpad is not able to send notifcation from node.js app
I have written the code shown below to send the push notification:
const pushpad = require('pushpad');
require('dotenv').config();
const axios = require('axios');
const project = new pushpad.Pushpad({...
2
votes
2
answers
772
views
Is push support in Service Workers dependent on Internet and third-party Google/Apple services?
Is push support in Service Workers dependant on Firebase (and Apple's equivalent)? All the tutorials I find have a step where you register a Firebase account, but for our webapp this is a no-go as it ...
0
votes
0
answers
130
views
WCF Service Callback Integration with Web Push API for Web Notifications
I need notifications (which comes from a WCF service callback) in my web application even when the browser is not opened.
The notification source / event I will get from a WCF service callback from ...
2
votes
1
answer
2k
views
Web Push API - Send notifications to multiple recipients
Using the W3C Web Push API is it possible to send a push notification in batch so it is received by multiple users ?
When subscribing a user agent for notification we obtain a unique endpoint such as:
...
6
votes
1
answer
2k
views
Is it really necessary to update the subscription on every page load?
I'm currently working on a web app which will allow a user to subscribe to push notifications. We'll store the subscriptions in a database table mapped against the user's ID and when a notification ...
1
vote
0
answers
654
views
How can I send messages to a Chrome extension from localhost?
Chrome apps are gone, so no chrome.sockets.tcpServer. chrome.gcm is gone, and Firebase is way too heavy for my interests (not that I ever used chrome.gcm). I just want to send messages from localhost; ...
11
votes
0
answers
2k
views
How to check if a push endpoint is still valid?
I have successfully implemented HTML5 Push Notifications for my site, for news updates and user events. If an endpoint is no longer valid (for whatever reason, but generally because a user revoked ...
1
vote
0
answers
111
views
What options are there for a push server in order to send notifications to a service worker
I'm building a web app that has a service worker, which displays a notification when a message is sent. I've been using the Web Push API example (https://web-push-codelab.glitch.me/) as it's backend.
...
2
votes
1
answer
1k
views
Issue with .subscribe() method of pushManager
I am following this very clear tutorial.
All works except that when I get to the stage subscribing a user with pushManager when I call pushManager.subscribe() I don't get any response from the ...
0
votes
1
answer
222
views
Push API - can't receivce test push notification in Firefox 55
I followed Google's codelab "Adding Push Notifications to a Web App" (https://developers.google.com/web/fundamentals/codelabs/push-notifications/) - it works with Chrome.
But in Firefox 55 no ...
0
votes
0
answers
104
views
Web Push API- Service worker notification [duplicate]
I need to show a SW notification when window cilent is hidden and should not show a notification when window client visibility state is visible.
I have tried below code. But SW shows default ...
3
votes
1
answer
2k
views
Can I use web push notifications to update the page without displaying a notification?
I am wondering if I can use web push notifications to update a web page without displaying a notification for the user to interact with. Essentially I want to refresh data after an event on the server....
1
vote
1
answer
124
views
Custom subscribe button
I would like to customize the subscribe button and add it to my website, how can I do that?
Currently users can subscribe to push notifications using this link:
https://pushpad.xyz/p/3898
-2
votes
1
answer
394
views
node.js websocket, converting JSON data
with node.js I run this code:
var autobahn = require('autobahn');
var wsuri = "wss://api.poloniex.com";
var connection = new autobahn.Connection({
url: wsuri,
realm: "realm1"
});
connection....
0
votes
1
answer
258
views
Do I need a privacy policy on my personal website if I implement web push notifications?
I'm creating a personal website and learning to implement a service worker that takes advantage of the push API in order to update myself and whatever others look at it that I have updated the website ...
11
votes
3
answers
7k
views
Web Push API - storing subscriptions in backend
I've implemented a Web Push API with the help of this Google tutorial:
https://developers.google.com/web/fundamentals/getting-started/codelabs/push-notifications/
The tutorial includes a method, ...
2
votes
1
answer
918
views
Unlock and wakeup from progressive/installable web app for building calling app
I am at the moment researching about the new features of progressive web apps and they are pretty amazing and allow building web apps which are feeling very native. In particular, I'm considering at ...
42
votes
2
answers
53k
views
Asp Net Core Web Push Notifications
Main goal is to add to site ability to send web notification to pop up a system notification to alert the user using Html5 Push API and service workers.
Not using SignalR which only can run client ...
1
vote
1
answer
1k
views
Push WebAPI + IndexedDB + ServiceWorker
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 ...
0
votes
3
answers
3k
views
Export public key to base64 in Ruby
I have a public key in PEM format that was generated with:
ecdsa_public_key = OpenSSL::PKey::EC.new ecdsa_private_key
ecdsa_public_key.private_key = nil
ecdsa_public_key.to_pem
I have to read the PEM ...
1
vote
1
answer
74
views
Subscribe user with pushPad Express to a custom Tag
I'm ussing pushpad Express to create a custom notification centre for a webapp, Subscribe is working fine with Uids, but I can't make it work with tags filtering. I check the documentation but I can't ...
15
votes
2
answers
11k
views
Make Web push notification work using webview in a native android app?
I have a website which is responsive and push notification feature enabled. In my native android app, if i load my website in a WebView, then the pop up which usually comes in chrome/firefox to ask if ...
1
vote
1
answer
4k
views
Why are application server keys needed for web push notifications?
I was going through the Code Lab for web push notifications, which mentions that application server keys (public and private key pair) are required.
Why do we need application server keys for push ...