I updated my add-on to be compatible with FF +57, now I’m trying to test how to update it and it is winning the battle. I always sign my add-ons on AMO to be able to distribute by my own. The process is simple, when I install my application it copies my xpi file to the right directory (…Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}) and that’s it, the user only has to accept the new installation. Now when I try to do the same I mean substitute the xpi file for a new one, Firefox never takes my change and keeps the old version.
Yes, initially no requests arrived from the extension. After I put the “application - gecko” section in the updates.json I started to get requests from it (good one, one step beyond).
[01/Dec/2017:16:04:17 +0000] “GET /firefox/extensions/updates.json HTTP/1.1” 200 1148 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0”
I tried both but none of them worked as I expected.
emmanuel_sellier:
HTTP logs : both json and xpi can be reached
Yes, initially no requests arrived from the extension. After I put the “application - gecko” section in the updates.json I started to get requests from it (good one, one step beyond).
[01/Dec/2017:16:04:17 +0000] “GET /firefox/extensions/updates.json HTTP/1.1” 200 1148 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0”
emmanuel_sellier:
do you expect an auto-update or did you try to manually check for updates
I tried both but none of them worked as I expected.
emmanuel_sellier:
have you tried to add update_url_info and applications in the updates.json