I’ve ported my extension over to being a Web Extension but I’m having difficulty getting Firefox to auto-update to the new version. Upgrades were previously done using the RDF format so I’m aiming to change it once to point to the new build and then future updates will be handled using the JSON format (which I’ve tested and works fine).
When I check for updates, I get the following warning:
Update manifest for jid1-np4qQKys1098lQ@jetpack did not contain an updates property
Not sure if I understand your issue. Do you have an unlisted legacy addon that is being ported to a webextension and want auto update to work? If so then check out my web extension manifest.json and updates.json.
Thank Andrei. That’s exactly it: I’ve got updates working using updates.json for my new web-extension build but I can’t get Firefox to automatically push people from the previous (non web-extension) version.
I was thinking it would be a case of updating the RDF the previous build was pointing at to reference my new web extension build but unfortunately that gives me the warning referenced above.
OK I’ll update the manifest and see how it goes. I am signing it using web-ext sign.
It’s historically been unlisted (created before my time). I don’t think we could submit to AMO since it requires a Guardian staff login to do anything useful making reviewing it difficult.
I think you are able to switch from unlisted to AMO (I am not an expert here).
Go to the Dev Hub obviously logged in. Then edit your unlisted addon and click upload a new version. There you have a section “How to Distribute this Version” and a little Change link. Click the link, select “On this site” and upload the new zip.
Make sure you have the same UUID, a new version and NO UPLDATE DATA. If you have anything related to the update system o unlisted addons it will throw an error.