fix: request push notifications on mobile (#553)
This commit is contained in:
parent
613c5315b3
commit
f28923f86f
3 changed files with 10 additions and 10 deletions
|
@ -43,7 +43,7 @@ export const onPush = (event: PushEvent) => {
|
|||
icon,
|
||||
lang: preferred_locale,
|
||||
tag: notification_id,
|
||||
timestamp: new Date().getUTCDate(),
|
||||
timestamp: new Date().getTime(),
|
||||
}
|
||||
return self.registration.showNotification(options.title, notificationOptions)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue