I did a bit of testing on my end and it appears that permissions.request() calls are not prompting the end user on Fenix Nightly 120.0a1. Someone has already opened 1850221 to track this bug. I’ll see what else I can find out about this bug.
Oh, that’s a good point point. You’re right, optional permissions aren’t appearing on Android. Thanks for calling this out!
I almost forgot to follow up on this comment. At the moment Firefox for Android is only targeting MV2 extensions with event pages. Longer term, though, I agree that Firefox should aim to minimize API differences between Android and desktop and support MV3.
The extension’s custom [Click to grant permission] button responds now, but “Access your data for all websites” still does not appear in the Permissions UI, so there is no obvious way to revoke it once granted.
@pmarks and I discussed this more over email, but in case anyone else comes across this thread, the issue is that AMO only supports one currently published version of an extension. If the current version does not indicate that it is compatible with Android, the extension will not appear in search results on Android devices and the “Add to Firefox” button on the extension’s listing page will be disabled.
Apologies, it seems I got my email threads confused. The issue you encountered was similar to but different from the thread I had in mind.
WebExtensions are not yet generally available on Android. While we’ve expanded the available set of extensions on the AMO Android page from ~20 to ~50 in late November, most extensions (including IPVFoo) won’t be available in Firefox for Android until December 14th.
Since you’ve already verified that you were able to search for and install the extension on Firefox Nightly, all that’s left is to give it another week
EDIT: I forgot to mention, I’m pretty sure that the reason you’re seeing 121.0a in the versions list is that that’s the current version of Firefox Nightly on Android. Basically, AMO is overriding the default Android version specified by the developer to limit access in advance of general availability.
On Firefox 120 for Android (the stable release), I’m able to install from /firefox/ but not from /android/.
I was very confused by this, because Google indexes the /firefox/ URL (which works on Android), but https://addons.mozilla.org/addon/ipvfoo/ redirects to /android/ on Android (which doesn’t work), and the Android address bar isn’t wide enough to show the difference.
Hopefully the December 14 launch cleans up this mess.
Edit: There are still separate /firefox/ and /android/ URLs, but now they both work, so that’s an improvement.