[Bug] Extensions can no longer create notifications
See original GitHub issueSteps to reproduce
The API call below no longer shows a notification in Firefox Nightly 200911 14:03.
Extension notifications on Android worked up to Firefox 78. In Firefox 79 and 80 the API call crashes the browser. This crash was recently fixed, but the end result is that notifications are no longer shown.
https://github.com/mozilla-mobile/fenix/issues/12910 https://bugzilla.mozilla.org/show_bug.cgi?id=1649494
browser.notifications.create({type: 'basic', title: 'Title', message: 'Message.'});
Device information
- Android device: Android 9
- Fenix version: Firefox Nightly 200911 14:03
┆Issue is synchronized with this Jira Task
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
notification.create isn't creating any kind of notification
I want to create a kind of alert() popup since the alert method isn't supported by chrome. For my extension basically I just...
Read more >Not Getting Notifications on Google Chrome? Here Are 10 ...
If your Chrome notifications aren't working properly, follow these steps to fix them in no time.
Read more >Cannot create notification in Chrome Extension. Receive ...
Problem 1. The function modifyDOM doesn't run inside the background script. It's only declared there and you convert its code into a string ......
Read more >iOS Notification extension error w… | Apple Developer Forums
Basically I send a push notification with mutable-content, but the extensions is not loaded, I see the following error when the OS tries...
Read more >Use notifications to get alerts - Computer - Google Chrome Help
You can set up Chrome to get notifications, such as meeting reminders, from websites, ... If you're browsing in Incognito mode, you won't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jonalmeida, notifications do not show up at all, nothing happens when the API is called. The browser.notifications API only worked up to Firefox 78.
@kbrosnan no, we do notify AC of the notification through the
WebNotificationDelegate::onShowNotification
API (there’s a test for this in https://phabricator.services.mozilla.com/D88165), this is likely a bug in AC/Fenix.