Skip to content

Commit

Permalink
Add optional notifications permission to manifest.json
Browse files Browse the repository at this point in the history
This lets us request the permission later on when we need it instead of
insta-disabling the extension on upgrade (!!).
  • Loading branch information
Shadowfiend authored and ioay committed Nov 20, 2023
1 parent f4b3ad6 commit 0737bd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"default_popup": "popup.html"
},
"permissions": ["alarms", "storage", "unlimitedStorage", "activeTab"],
"optional_permissions": ["notifications"],
"background": {
"persistent": true,
"scripts": ["background.js", "background-ui.js"]
Expand Down

0 comments on commit 0737bd1

Please sign in to comment.