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 committed Nov 13, 2023
1 parent 28a88a8 commit ca8941b
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 ca8941b

Please sign in to comment.