From 5a631d3833a63e76d3611dc97ec073e471af58ba Mon Sep 17 00:00:00 2001 From: RobinLinus Date: Fri, 21 Sep 2018 21:21:44 +0200 Subject: [PATCH] Notfication API on android --- client/scripts/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/scripts/ui.js b/client/scripts/ui.js index fa34e69..1b90a8f 100644 --- a/client/scripts/ui.js +++ b/client/scripts/ui.js @@ -361,7 +361,8 @@ class Notifications { const config = { body: body, icon: '/images/logo_transparent_128x128.png', - vibrate: [200, 100, 200, 100, 200, 100, 400], + // vibrate: [200, 100, 200, 100, 200, 100, 400], + // requireInteraction: true } if (serviceWorker && serviceWorker.showNotification) { // android doesn't support "new Notification" if service worker is installed