mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-05 17:33:49 +00:00
Notfication API on android
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user