Recently, I was working on Chrome Extension, but I found that the notification interface did not work, but no error was reported.
Check whether permissions on permissions are added to [” Notifications “],
2, chrome. Notifications. Call the create icon address is wrong.
All of the above is ok, still no message notification.
The next question was whether there was a browser restriction. A search revealed that the new version of Chrome may have disabled native notifications on MacOS.
Solution: 1, in Chrome browser access address: Chrome ://flags. 2. In the search box, search for “Enable System Notifications” and set the value to “Disabled”. Restart the browser.
The following figure 👇