notifications
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const CACHE_NAME = 'listify-shell-v2';
|
||||
const CACHE_NAME = 'listify-shell-v3';
|
||||
const SHELL_ASSETS = ['/', '/index.html', '/manifest.webmanifest', '/pwa-icon.svg'];
|
||||
|
||||
self.addEventListener('install', (event) => {
|
||||
@@ -73,6 +73,9 @@ self.addEventListener('push', (event) => {
|
||||
const options = {
|
||||
body: payload.body || 'Du hast offene Tasks.',
|
||||
tag: payload.tag || 'listify-task-digest',
|
||||
renotify: true,
|
||||
timestamp: Date.now(),
|
||||
vibrate: [120, 80, 120],
|
||||
icon: '/pwa-icon.svg',
|
||||
badge: '/pwa-icon.svg',
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user