diff --git a/sw/eventListener.js b/sw/eventListener.js index 0e8b6778e..fcec05bed 100644 --- a/sw/eventListener.js +++ b/sw/eventListener.js @@ -59,7 +59,7 @@ export function onPush (sw) { // iOS requirement: wait for all promises to resolve before showing the notification event.waitUntil(Promise.all(promises).then(() => { - sw.registration.showNotification(payload.title, payload.options) + return sw.registration.showNotification(payload.title, payload.options) })) } }