Questions tagged [push-api]

The Web Push API lets users of your Web app receive push notifications at any time—even in the background; that is, even when your Web app is not currently running in the foreground on the user’s device (or even when the browser on the user’s device is not currently running). It use Service Workers to handle messages sent using common push services, and to allow your Web app to react to the push notifications it receives.

For more information about the Web Push API, see the actual Push API spec and the articles Using the Push API and Push Notifications on the Open Web. The MDN article Using Service Workers is also relevant.

The IETF standards that describe the Web Push protocol and its message encryption scheme are really useful to understand how to build an application server that sends push notifications to clients and how to encrypt push message payloads.

117 questions
0
votes
0 answers

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 stage Warning: openssl_sign(): Supplied key param…
Sikki
  • 53
  • 1
  • 10
0
votes
0 answers

Web Push API - alternatives for saving VAPID Private key in Database

I am currently working on the implementation of push notifications. To do this, the web push api requires the subscription object which contains the public as well as the private key. Additionally the subscription needs to be stored in a database…
Anthony
  • 11
  • 1
0
votes
1 answer

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 seems to only allow for pushing of user…
Jon Vance
  • 504
  • 3
  • 13
0
votes
0 answers

Send web push notifications to specific users conditionally

I am willing to use web-push notifications on my web app. I have already setup serviceWorkers on the front-end(React) and implemented web-push notifications on my backend(NodeJS). Now I just need to send notifications which are user specific, means…
p_verma98
  • 23
  • 1
  • 5
0
votes
1 answer

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 been updated in the background) message whenever…
0
votes
1 answer

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 that there must be some method of achieving this…
Josh McGee
  • 443
  • 6
  • 16
0
votes
1 answer

Web Push on Desktop and Phone

I am testing the WebPushDemo (an example of how to use web-push-csharp) Library: https://github.com/web-push-libs/web-push-csharp/ Demo: https://github.com/coryjthompson/WebPushDemo After deploying the project on my local IIS, I can access the site…
MeerArtefakt
  • 386
  • 2
  • 6
  • 26
0
votes
1 answer

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 that can help me achieve that ?
Garsivirus
  • 97
  • 1
  • 9
0
votes
0 answers

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 payload from server ,but my server don't support Nodejs…
0
votes
0 answers

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 message in HTTP method to its endpoint URL of user A -…
gogo shop
  • 1
  • 1
0
votes
1 answer

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 any example what should be done? appreciate…
0
votes
1 answer

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 "www.example.com". So, will it be still possible to…
0
votes
1 answer

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({ authToken:…
Mrugesh
  • 4,381
  • 8
  • 42
  • 84
0
votes
0 answers

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 WCF service hosted in the network. I came across…
SiD
  • 109
  • 1
  • 8
0
votes
1 answer

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 notification shows up when I press the "Test Push…
R0byn
  • 363
  • 5
  • 15