I wanted to update my add-on to Manifest 3, and it requires host permissions to an API. I’m currently testing the add-on by adding it in about:debugging, and every time I add it I have to go to manage extension and enable the API host permissions.
I noticed that in manage extension, it lists my API permissions under “optional permissions”. Is there anyway to make this permission not optional, so I don’t have to toggle it every time? I’m also concerned that forcing the user to go to manage extensions and turn on permissions will hamper the user experience.
I see that the Permissions API is a thing, but it seems like an unnecessary hassle to check each permission and have custom messages to the user about permissions, etc. I just want things to be simple like in Manifest v2.