671 questions
0
votes
0
answers
59
views
Using multiple ServiceWorkers and push providers in a PWA
We have a PWA and we want to send Web Push notifications using two different providers.
If we register two separate ServiceWorkers under different scopes, can we use each ServiceWorker’s own ...
0
votes
1
answer
69
views
Push event is not triggered in PWA using webpush
I have created a PWA from my Laravel + Inertia react app, I have a service-worker running that listens to push events. Whenever we register the service-worker initially we subscribe to the push event:
...
0
votes
0
answers
56
views
Having troble with push notification using web-push on production
I’m working on implementing push notifications in my web app. On localhost, everything works perfectly — my notifications show the correct title and body. But once I deploy to production, Chrome only ...
0
votes
1
answer
126
views
Cypress not receiving push notifications that typically work in Chrome
Overview
I have a Quasar application setup with InjectManifest (and Vite, if that matters) for access to custom service workers.
When running Quasar normally (PWA mode), push messages are received ...
0
votes
0
answers
180
views
I would like to have a notification sound and vibration at the same time when receiving web push notifications
What I want to achieve
I want to play a notification sound and trigger vibration simultaneously when receiving a web push notification.
Current situation
I have created a PWA (Progressive Web App) and ...
0
votes
1
answer
58
views
Are HTTP WebPush Push Message Receipts Supported by Firefox or Chrome?
In the HTTP Web Push Protocol (RFC8030) in section 5.1 (Requesting Push Message Delivery) it is stated that:
"The push service MUST support delivery confirmations".
But is that actually ...
0
votes
1
answer
189
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....
-1
votes
2
answers
71
views
PHP: Why is it not sending a push notification to the subscription?
I am working on a backend PHP script to send notifications to a subscription. Here is my code:
<?php
$endpoint = "https://wns2-by3p.notify.windows.com/w/?token=BQYAAAAEycZlxsQTTp9zcqC%...
1
vote
0
answers
114
views
Clients.openWindow(specificUrl) opens the base url instead of specificUrl when opening closed PWA on iOS
I have a PWA that should open a specific page when a notification is clicked. Right now I'm testing on iPhone 18.1.1, and it works in all scenarios except when the PWA is closed (swiped away). When ...
2
votes
1
answer
140
views
How to make WebPush (using Qt) work with Windows Edge browser?
My implementation of Web-Push works fine with Chrome & Firefox, but not with MS edge (even after % decoding).
Question: How to make it work?
FYI, their URLs appear in different formats:
Chrome ...
0
votes
1
answer
635
views
Edge Web Push Notifications - 400 Error, no message
I'm having issues sending Web Push Notifications to Edge. It works great in Chrome, Firefox, Safari, but not Edge.
I can get the endpoint, auth, and p256dh in the browser and save them to my database. ...
0
votes
1
answer
137
views
IOS Web Push, Notification. Pop-ups Not showing up
Pop-up not showing despite console saying it's "Requesting
PermissionNotification.requestPermission().then((result) => { permission = result === 'granted' ? true : false; });
On android ...
2
votes
0
answers
669
views
Reliability of Web Push Notifications in PWA
As of November 2024, what is the reliability of Web Push Notifications in Android and iOS mobile devices? I have read on several pages such as this post and the Chromium support link in that post bug.
...
1
vote
1
answer
115
views
Chrome Extension with WebPush
I'm busy following this guide by Google:
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.push
Obviously this is completely impractical for production ...
0
votes
0
answers
92
views
How subscribe a Web push Protocol with JS on a PWA on iOS
I received a commission for a PWA that uses the Web push Protocol for receives notifications from the server.
The PWA is in WASM, with Blazor .NET 8. I used JS for the entire Web push architecture. ...
0
votes
0
answers
84
views
Browser push notification received but never triggers
Using webpush, just a quick and dirty POC to see if i can get push notifications to work. index.html just has two buttons, one to subscribe, one to test the push notification.
I have sufficient logs ...
0
votes
0
answers
106
views
Getting additional web notification with content "This site has been updated in the background" when using web fcm in angular
I have created a service worker in angular where I have subscribed the background notification but every time a notification is received in the browser an additional notification is also triggered ...
0
votes
0
answers
77
views
Web push, pushsubscriptionchange browser support?
I am trying to understand browser support for event pushsubscriptionchange.
I found this old blog post of Chrome (2016) saying that support starts from version 54.
On MDN page it's reported that only ...
2
votes
2
answers
648
views
Web Push via Azure Notification Hubs: JSON value could not be converted to Microsoft.NotificationHubs.Contracts.LegacyModels.BrowserPushSubscription
I'm having a very difficult time making Web Push notifications work via Azure Notification Hubs.
Browser notifications support has been announced in March 2024, but it looks like any kind of proper ...
1
vote
1
answer
2k
views
PWA push notifications not working on iOS Safari (but working on android, web, mac os safari)
I have NextJS PWA app and I configured it with VAPID and web-push (nodejs). The notification pops up on all other devices (android, web, mac safari) but not on iphone with safari.
Extra details:
I ...
0
votes
1
answer
928
views
Java Web Push Notification
I have a java application: the backend developed with Spring, and the front end with React.
Now I have turned my web application into a PWA, and I am trying to send Web Push Notifications from the ...
5
votes
1
answer
1k
views
Endpoint not found when sending web push notifications through FCM
In our company, we provide web push notifications as a service for our customers. We've noticed a rise in 404 errors in the last days of June 2024 and messages like "A valid push subscription ...
0
votes
1
answer
107
views
Chrome MV3 extension: Getting "Site has updated in the background" notification even though userFacing: false flag is set
We're using WebPush in our newly migrated extension to MV3. It's both for user-facing notifications and background updates. Some users have been complaining that they are seeing "Site has updated ...
0
votes
0
answers
173
views
Push notifications endpoint HTTP v1
I don't understand a bit about the termination of support for the firebase API. Will this affect the usual sites that work through the endpoint?
https://developer.mozilla.org/en-US/docs/Web/API/...
2
votes
0
answers
421
views
Weird behavior while checking web push notifications permissions on safari
As the title says, I'm having problems checking web push notifications permissions just on safari. Also note that this does not happens on every single iOS device.
When my app loads, it checks for ...
3
votes
1
answer
647
views
Push notifications subscriptions
I'm working on a web app (React on frontend and NestJS on backend) and I implemented push notifications.
I registered a service worker on the frontend and, upon login, i ask my user for permission for ...
1
vote
0
answers
163
views
FCM Migration from legacy to V1 needed for Web Push?
I'm sending web push notifications to Google Chrome (which uses FCM endpoints). Are there any steps that need to be taken since Firebase will be removing FCM legacy APIs, or is this only affecting ...
1
vote
1
answer
411
views
Push API without Notification API
I am using Firebase Cloud Messaging (FCM). But this same issue occurs in FirebaseJS.
I want to use ONLY Push API to do in-browser messages without requiring ANY Notifications API at all. In order to ...
1
vote
0
answers
516
views
Migrate WebPush from legacy FCM APIs to HTTP v1 give "Requested entity was not found." error 404
I am migrating our WebPush APP from FCM APIs to HTTP v1. In updating the payload of send request I target specific devices, and it gives:
{
code: 404,
message: 'Requested entity was not found.',
...
-1
votes
1
answer
176
views
How can I integrate MoEngage for web push notifications using different server-side methods?
I'm in the process of implementing web push notifications for my website and I'm considering MoEngage as a potential solution. However, I'm seeking guidance on integrating MoEngage for web push ...
0
votes
0
answers
73
views
Firebase FCM error: "results":[{"error":"InvalidRegistration"}]}"
"{"multicast_id":2590279481594016535,
"success":0,
"failure":1,
"canonical_ids":0,
"results":[{"error":"InvalidRegistration"}]...
0
votes
0
answers
2k
views
"Vapid public key must be a URL safe Base 64" web-push error in nodejs
I faced to a error from web-push library in my nodejs backend app.
When I want to set public key and private key in web-push with webpush.setVapidDetails()
I received an error in my terminal that said:...
2
votes
1
answer
629
views
Will FCM ditch the support of Web Push Protocol?
As we know, HTTP legacy API was deprecated on June 20, 2023, and will be removed in June 2024.
The problem is HTTP legacy API and Web Push Protocol are sharing the same endpoint:
POST https://fcm....
1
vote
2
answers
1k
views
Unable to send web push notification on iOS, works perfectly fine on Android devices
I am using service worker concept (API) to send web push notifications, this is the book that I followed and got the code sample from. Below code works perfectly fine to get the subscription from a ...
1
vote
0
answers
693
views
Is it possible to multiple service workers run at the same time and handle different or same event types?
There is a lot of information over the internet and also here on Stackoverflow, but I'm still confused and be glad to get some clarifications.
I have read:
How to register two different service-...
1
vote
0
answers
209
views
How much is the web push notification daily or hourly limits for any browser?
All browsers suggest to limit the number of web push notification else the account will get blocked.
However how much is too much? Could not find any official document which mention of any specific ...
3
votes
0
answers
842
views
PWABuilder TWA: Clicking Android Web-Push Notification Won't Bring App to Foreground (Service Worker Click Handler Running)
Context:
I've wrapped our web app, built using Meteor and React, using the PWABuilder website and generated Android source code from it. To enable push notifications, we've successfully integrated the ...
1
vote
1
answer
797
views
Sending web push to APNs (https://web.push.apple.com) responds with 403 Forbidden
We can send web push from java server to PWA on Android/Chrome works fine, but sending to PWA on iPhone/Safari fails with 403 Forbidden.
Works fine on Android phone
PWA gets installed on Android ...
0
votes
0
answers
160
views
Decryption of incoming web push messages in .NET
According to this Telegram link, I generate a p256dh and auth and then register them with Telegram server using the code below:
var ecParameters = Org.BouncyCastle.Asn1.Nist.NistNamedCurves.GetByName(&...
3
votes
1
answer
584
views
Is it possible to use the web-push library for node-js in a deno supabase edge function?
I tried to use/import the web-push library (https://github.com/web-push-libs/web-push) for node-js in a deno supabase edge function and it does not work.
Is it possible to use the mentioned library ...
0
votes
0
answers
230
views
How to decrypt a Mastodon Web Push notification in PHP
I'm building a PHP Web Push notification Listener for Mastodon.
I successfully created a subscription by sending the following post data to the Mastodon subscription API URL:
$post_data = array(
...
0
votes
1
answer
918
views
Blazor WASM | Web Push Notifications | iOS
Has anyone been able to get Web Push notifications to work on iOS? I have followed the blazor pizza example https://github.com/dotnet-presentations/blazor-workshop/blob/main/docs/09-progressive-web-...
4
votes
0
answers
552
views
Firebase Cloud Messaging - MESSAGE_DELIVERED Event Not Appearing in BigQuery Exported Data After Completing Delivery Metrics Setup
I have just written a small app to handle push notifications via FCM (both client & server API).
Also, I have used Google Cloud BigQuery to have more detailed logs about how I'm handling push ...
0
votes
0
answers
2k
views
How can a home screen PWA on iOS show an app badge count of web push notifications?
On iOS, how does a PWA know how many web push notifications are outstanding, in order to show a count badge on the app icon?
I have a web site which supports being installed as a standalone PWA (...
0
votes
1
answer
291
views
getting "Property 'data' does not exist on type 'Event'" on a PushEvent
I'm trying to write to a service worker to receive push notifications. To display the notification the way I want, I need to listen to the event when the notification arrives on the device and get the ...
1
vote
0
answers
270
views
Push message with Firebase cloud messaging - Request contains an invalid argument
I try to send a push message with Google's firebase cloud messaging. I and get this very basic error:
Request contains an invalid argument.
{
"notification": {
"title": "...
3
votes
1
answer
1k
views
FCM JS Client - provided applicationServerKey is not valid
I'm trying to use Firebase Cloud Messaging to use WebPush and am following along with thier docs for setting up the javascript client. I have the code below all setup, but when I call getToken I get ...
1
vote
1
answer
474
views
WebPushError - Received unexpected response code BadJwtToken
I am trying to send a web push notification to my ios device. The code I have with teh vapid ID works perfectly for desktop and on android devices when I send the FCM token.
The issue happens when I ...
0
votes
1
answer
1k
views
sending custom web push notifications
so i'm new to webpush and push notifications. I've used a tutorial to get me up and running and in the whole it is working fine. the bit that i am trying to work on is sending a custom notification.
...
1
vote
0
answers
461
views
Notifications are not shown : Fcm , React , Vite
I am facing issue in appling the FCM notification structure using react + vite app and nodejs as backend.The messages are not comming either in foreground nor in background and the onMessage Event ...