How to specify the minimum required version using addon-sdk cfx mozilla?

By creating the traditional Firefox extension, you set the minVersion field to install.rdf. Since it abstracts package.json and cfx, is there a way to set minVersion?

Motivation: Due to certain changes in behavior in the contextMenu API, my add-on only works as expected from certain versions of Addon-SDK and higher. I would like to apply this restriction.

+4
source share

All Articles