Hey @dotproto, thanks for the reply.
I just tried my extension on Firefox nightly on android and it seems that if I am using Manifest v3, all “host_permissions” are treated as “optional” by default (just like on PC, like we discussed in this thread Porting Chrome add-on -> Firefox: page permissions not granted by default?)
However, it seems like there are no way to request for permission at run time. I am trying to do it like this:
window.browser.permissions.request({ origins: [url] });
I get no warning but also I don’t get any prompt to accept the request or any callback. It seems like manifest v3 addons are blocked by this.
EDIT: Nevermind, I just saw this was fixed in milestone 120 (as per https://bugzilla.mozilla.org/show_bug.cgi?id=1810047)