We are checking 'compatibility' with the device via hasFeature("web-extensions") -- not feature detection or OS version or anything else (right now). If the addon is not compatible, show "not compatible with your device version" instead of the download button.
I'm taking the first part, the hasFeature() check - https://github.com/mozilla/fireplace/pull/1512 -, but hopefully someone else can handle the button compatibility checks and altering doc_type parameter sent to search depending on whether we have add-ons compatibility or not.
https://github.com/mozilla/fireplace/commit/0f6c9a7cddc0aab6c961d9cea52a0007fa4fc6a4 makes the package do the hasFeature() check, it's then exposed in fireplace as settings.addonsEnabled.
3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.