chrome.notifications.create not working #598
Replies: 2 comments 1 reply
-
Just noticed, if I use an online image link, notification works but when i use a local image, notification doesn't work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
SOLVED (sadly got no help or hint from any expert): had to import the image source as below, import logoUrl from "raw:~/src/images/logo.png"; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I create notifications for my Chrome extension?
I searched "notification" in docs.plasmo.com but nothing shows up.
I added the following in my extension but it's not working:
chrome.notifications.create({
type: "basic",
iconUrl: "./images/logo.svg",
title: "My extension: Success",
message: "Login Success",
})
Beta Was this translation helpful? Give feedback.
All reactions