Rich Notifications doesn't work/show
-
pcloudextension last edited by
Hello to all. I have a cross browser extension and it seems that Opera is the only browser which doesn't display my rich notifications. Is there a special permission or something in order to make it work?
manifest.json
...
"permissions": ["tabs", "activeTab", "contextMenus", "notifications", "clipboardRead", "clipboardWrite", "http://*/*", "https://*/*"
],
...background.js
function showNotification() {
var notificationOptions = { type: 'basic', title: 'My title', message: 'My message', iconUrl: 'img/my_image.png', contextMessage: 'My context message', isClickable: true }; var notificationID = String(Date.now()); chrome.notifications.create(notificationID, notificationOptions);
};
****** When I pressed "Post discussion" there was no indication of success or error so I pressed it again which caused double post.
-
kuchkan last edited by
In Opera there is no support for Rich Notification API https://dev.opera.com/extensions/apis/
-
rudrick last edited by
I would want to have option in setting to either see notifications on desktop/action center OR inside the browser. I would much better prefer inside browser. Now I don't use notifications with Opera at all.