Questions tagged [web-notifications]

The Web Notifications API provides a way for a web application to show a platform-level notification to a users — outside of a browser’s viewport and regardless of whether the web application that generated the notification is in the currently-active tab/window.

Web Notifications API for end-user notifications provides a way to alert users — outside the context of a web page — of an occurrence such as the delivery of an e-mail message.

https://notifications.spec.whatwg.org/

145 questions
0
votes
1 answer

Laravel with Socket/Redis - Private channel routes not working

I am kinda stuck in broadcast routes. i setup a socket server with redis and configured it with Laravel. For public channel ,everything is working fine but when it comes to private or presence channel, it is somehow bypassing laravel broadcast…
0
votes
0 answers

Chrome OS Notification Shelf Icon

How can I create a shelf icon for Chrome OS notifications? Using web notifications would be preferred, but using extension notifications is also acceptable. Update: It seems that appIconMaskUrl of extension notifications adds an icon to the shelf,…
0
votes
1 answer

Running Background Processes in Websites

I'm interested in running background processes once users go to a website. My question is very broad but for example I'd like to poll a JSON API every minute or so and send the user a web notification anytime the response from the JSON API changes.…
0
votes
1 answer

All web notifications have completely stopped. How can I fix this?

I recently added Notify.js to my add to display web notifications to my users. It was working but all of a sudden I got absolutely NO notifications. Not from any site. The notifications settings for chrome are still the same. Just cannot receive…
Nearpoint
  • 7,202
  • 13
  • 46
  • 74
0
votes
0 answers

Web Push notification Received unexpected response code

webPushClient.SendNotification(subscriptionkey, JsonData, vapidDetails); When i am trying to push web notification to browser then i am getting this below exception. System.AggregateException: One or more errors occurred. --->…
0
votes
0 answers

reg.pushManager.subscribe is never fulfilled

I'm trying to enable web push notification but after call reg.pushManager.subscribe the promise is not resoved. async enablePushNotification() { // CALLED ON USER CLICK try { const status = await Notification.requestPermission(); if…
0
votes
1 answer

How to capture multicast response in Firebase push notifications?

Screenshot of the responses which I am getting after sending push notification using Firebase. I am getting multicast_id, success:0 etc in the second response stream. how to capture it?
0
votes
1 answer

Are multiple gcm_sender_ids mandatory for multiple site web push?

We are a company that operates about 500 large and small sites. (Self, outsourcing ...) We are trying to attach a notification to these sites. I know that when I sign in with my Google Developer Center account and get the gcm service, I get one…
0
votes
0 answers

issue with closing web notification after saving it to the local storage

I'm showing notifications, issue is they show every time the page is loaded, so saving the tag to local storage, then if tag is in local storage don't show the notification, however it saves to the local storage, but doesn't stop showing the…
bob
  • 466
  • 1
  • 7
  • 27
0
votes
1 answer

Which most reliable technology for push notification for the web?

I want to implement real-time push notification in my web application for voice calls. I have analysed WebSockets, Long-polling, Firebase and Atmosphere. Both Firebase and Atmosphere are not reliable, for Atmosphere, sometimes push does not reach to…
0
votes
0 answers

Notifications disabled on file system in Safari?

When in Safari and calling requestNotification the prompt never appears. Code: Notification.requestPermission(function (permission) { console.log(permission); // always denied if (permission === "granted") { // never hits this…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

How to set BigPictureStyle on Web Push Notifications?

In my native app I send BigPictureStyle notifications and want to do the same on the web. I have built a Progressive Web App and am using service worker-based web push notifications, but can't find a way to show BigPictureStyle notifications to my…
owencm
  • 8,384
  • 6
  • 38
  • 54
0
votes
2 answers

Real Time Notification for Angular 2 web app with asp.net web API back end

I am working on a web application (Angular 2 and Asp.net web API) that expected to be notified the user when some task has been created by another user(An entry on the Tasks table in the Database). Notification can be something similar to Facebook…
chenk
  • 392
  • 7
  • 27
0
votes
1 answer

Chrome Desktop Notification doesn't display the message

I'm developing a website that supports desktop notifications. I'm utilizing GCM and Azure Notification Hub to send push messages to end users. I followed this codelab tutorial. When testing I have found that the push notifications do get displayed…
0
votes
3 answers

How to display push notifications from my website?

I'm developing a simple website and I want my website to display push notifications to my users. It is something similar to how facebook.com displays notifications in chrome and firefox. I'm also working on an Android app that also supports push…
1 2 3
9
10