From c89b42e360e833902f90f5e6215f8af8a0f8552d Mon Sep 17 00:00:00 2001 From: Dinesh Date: Mon, 5 Oct 2020 14:48:17 +0530 Subject: [PATCH] notifications: Fix chrome not popping up notification. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities says `iconUrl` is required for chrome. That fixed it. --- src/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background.js b/src/background.js index 164fb2c..8e884d5 100644 --- a/src/background.js +++ b/src/background.js @@ -5,6 +5,7 @@ function PlayAudio() { function notify(word) { browser.notifications.create({ + iconUrl: "./index.jpg", type: "basic", title: "AutoMeet", message: `The word '${word}' has appeared!`,