Addon ID for SDK-addon with Embedded WebExtension - or not?

I tried to upload a new version of my addon which includes an Embedded WebExtension for migrating the storage.
I got following error:

Your add-on failed validation with 1 error.
The add-on ID in your manifest.json or install.rdf (...) does not match the ID of your add-on on AMO

But here they say the Embedded-extension will be ignored if having an addon-id set.

So: Do I need to set the id inside package.json or not?

SDK addons need an ID.
WebExtension addon if it is upgrade, would need the same ID.

New WebExtension addons can be without an ID.

1 Like