Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Improved handling of ServiceWorkers and their events #75

Merged
merged 1 commit into from
Oct 19, 2016

Conversation

Nickersoft
Copy link
Owner

@Nickersoft Nickersoft commented Oct 18, 2016

There has been a long withstanding issue in which calling events on notifications created by ServiceWorkers would result in console errors. This update adds separate event handling for SW notifications to prevent these kind of errors from occurring. That said, only click() and close() event handlers will work on SW notifications.

This fix also adds some new options for SW notifications such as "data" and "icon", as per request in issue #70.

See issues #68, #69, and #70 for more info

@Nickersoft Nickersoft merged commit ddc7843 into master Oct 19, 2016
@Nickersoft Nickersoft deleted the improved-sw-events branch October 19, 2016 01:13
Nickersoft added a commit that referenced this pull request Oct 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant