This is a follow-up to #9864.
When we are ready to enable the installation buttons on prod, we'll need to flip the flag for enableFeatureAllowAndroidInstall.
any update on this?
It should be happening around the time Firefox 85 ships (Jan 26), to align with the code changes in Fenix making it to release.
Hi,
Just checked this matter on a debug build using the dev AMO.
For the moment:
• All the featured add-ons have the "Add to Firefox" button enabled.
• From our recommended list only YouTube High Definition and Privacy Possum are available
• Tapping the "Add to Firefox" launches the download of the .xpi file.
• In some cases tapping the "Add to Firefox" button doesn't work properly.
Thanks @AndiAJ
Hi,
Just checked this matter on a
debug buildusing the dev AMO.For the moment:
• All the featured add-ons have the "Add to Firefox" button enabled.
Do you mean all of the "Recommended" add-ons have the "Add to Firefox" button enabled? That is the expected behaviour.
• From our recommended list only YouTube High Definition and Privacy Possum are available
I'm not sure what is meant by this. Can you elaborate?
• Tapping the "Add to Firefox" launches the download of the .xpi file.
• In some cases tapping the "Add to Firefox" button doesn't work properly.
I don't see any details about this problem. Is it documented anywhere?
• All the featured add-ons have the "Add to Firefox" button enabled.
• From our recommended list only YouTube High Definition and Privacy Possum are available
On Fenix we have 18 supported (Recommended) Add-ons.
List of supported Add-ons (dropdown)
• uBlock Origin
• Privacy Badger
• Ghostery
• Dark Reader
• AdGuard AdBlocker
• HTTPS Everywhere
• FoxyProxy Standard
• NoScript Security Suite
• Bitwarden
• Search by Image
• Decentraleyes
• YouTube High Definition
• LeechBlock NG
• Privacy Possum
• Tomato Clock
• Web Archives
• Video Background Play Fix
On the dev AMO I've only identified 2 of them : YouTube High Definition and Privacy Possum
Beside these 2, there are other Add-ons available on the dev AMO.
I've checked if the button is enabled for other add-ons as well (web extensions that are normally not supported (recommended) on Fenix).
The button was enabled for all the add-ons listed on the dev AMO which most likely is expected. ✔️
• Tapping the "Add to Firefox" launches the download of the .xpi file.
It should not download the .xpi file, it should launch the installation of the Add-on.
It was also mentioned here
In the meantime, we successfully installed from the production server AMO "Search by Image" on the latest Beta build.
Tapping the "Add to Firefox" button directly launched the installation of the web extension.
Left a comment yesterday on this issue
• In some cases tapping the "Add to Firefox" button doesn't work properly.
Could be an issue only when using "Add to Firefox" on the dev AMO.
Didn't encounter it yesterday on the Beta Build.
Sorry for the misunderstanding. ☺️
Thanks for the update @AndiAJ, but I'm afraid it leaves me as confused as I was before. It's not clear if you are reporting any issues which need to be addressed, verifying behaviour, or something else. It would be easier to understand if it clearly stated any issues, along with specific STRs. Having said that, I'm not even sure this is the right place to be discussing/reporting any of this. This issue is simply about enabling the installation buttons on prod. Any discussions of problems with the installation buttons on dev (where they are currently enabled) should really be discussed in separate issues.
Just checking in to see where we stand on the timing of this. When do we want to turn this on in production? @jvillalobos
I think we should enable this on Thursday (Jan 21). There's a short window where the AMO buttons will be enabled and won't work on Fenix Release, but can at least be tested with pre-release versions to make sure everything's okay before release.
@jvillalobos It looks like flipping the flag for enableFeatureAllowAndroidInstall does enable the "Add to Firefox" button for recommended extensions, which should allow for install on Fenix, but I noticed that even with that button enabled, we still show the notice below that says "You can install this add-on in the Add-ons Manager. Learn more about add-ons for Android." (see screenshot below). I guess we should remove that notice as well, or do we want to continue to remind folks that they can also install these via the Add-ons Manager?

We should remove that notice when the button is enabled, yes.
@bobsilverberg
We used on Fennec the following prefs to trigger an install:
extensions.webapi.testing - true
xpinstall.signatures.required - false
xpinstall.signatures.dev-root - true

- I could trigger installs for the add-ons from the recommended shelf and the prefs I mentioned above only with Fennec 68.9.0 on AMO dev. On AMO stage - I get a message that add-ons are blocked, I tap allow and then asks me to install it anyway, I tap "add" but the install button won't change it's state into "Remove".
I'm not sure I understand whether you are able to actually install add-ons from stage or not. Regarding the button not changing its state, that is expected. The addo-on manager does not exist on Fenix, so we have no way of changing the state of that button.
@bobsilverberg
Ok, I checked this morning again. So, my concern is the Fenix installs because so far I was not able to trigger one with 85.0.0. beta.9
which I took from this repo and also tried with Nightly from this repo

The Fennec situation changed, I did not encounter the issues described yesterday on AMO stage. So with 68.9.0 it worked on both testing servers.

I used the prefs I mentioned yesterday on Fenix and Fennec.
extensions.webapi.testing - true
xpinstall.signatures.required - false
xpinstall.signatures.dev-root - true
From our discussion on Matrix:
my explanation so far is: the Fenix build you're using does not detect the AMO stage url as "AMO". AMO -stage shows the install button and, when clicked, serves the xpi file. Fenix downloads this file but cannot open it because xpi is a special format and it isn't handled by Fenix. So far, so good. The only problem is that Fenix should not download the xpi file in this case, it should call a special routine to "install" the add-on (which includes downloading it under the hood).
@willdurand I could install add-ons from the collection https://addons.allizom.org/en-US/firefox/collections/11686491/fenix/ using a build you've sent (FF Preview 86.0a1)

@willdurand I did some sanity checks on AMO prod today - Android 10.0 FF85.1.0
I could install all add-ons from the see more recommended shelf.
Current behavior:
As in the .gif above - once the install button is tapped the user is redirected to addon manager and the install popup is displayed then a download is triggered and after a message informs the users that the add-on has been added to Firefox.
When I try the install button again from AMO I am redirected to addons manager and a message is displayed " Add-on is already installed".
Thanks for the docs 👍 I'll try to make a functional build for AMO stage as we need it for the weekly release testing from now on.
@willdurand I also tested AMO prod installs with FF 85.0.0 - beta9 and FF 86.0a1 - Nightly on Android 10.0 - works for me.
Most helpful comment
I think we should enable this on Thursday (Jan 21). There's a short window where the AMO buttons will be enabled and won't work on Fenix Release, but can at least be tested with pre-release versions to make sure everything's okay before release.