Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url does nothing #80

Open
travis-st opened this issue Jun 10, 2020 · 0 comments
Open

url does nothing #80

travis-st opened this issue Jun 10, 2020 · 0 comments

Comments

@travis-st
Copy link

From everything I read, you need to register an eventListener for notificationclick with your service worker in order to be able to open the URL of a notification. The url parameter isn't even passed to the notification object. Using the sample listed, and inspecting the notification, shows the URL isn't even there.

actions: []
badge: ""
body: "Hello World"
data: null
dir: "auto"
icon: "my-icon-256.png"
lang: ""
onclick: null
onclose: null
onerror: null
onshow: null
renotify: false
requireInteraction: false
silent: false
tag: ""
timestamp: 1591819487107
title: "Welcome!"
vibrate: []
__proto__: Notification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant