Automatic Updates for Web Extension not happening

I have a self hosted (unlisted signed addon) and I am trying to test automatic updates for my web extension but I waited for like an hour and even clicking on Check for Updates does not update the extension. Here is some info:

Updates.json

{
  "addons": {
"extension@requestly.in": {
  "updates": [
    { 
      "version": "4.1.9a",
      "update_link": "https://dl.dropboxusercontent.com/u/71743966/requestly/firefox/requestly-4.1.9a.xpi" 
    }
  ]
}
  }
}

Manifest.json (For extension installed on my browser)

{
  "name": "Requestly",

  "version": "4.1.9",
  "manifest_version": 2,
  "description": "Mozilla Firefox addon to modify HTTP requests (Redirect | Cancel | Replace | Modify Headers)",

  "applications": {
    "gecko": {
      "id": "extension@requestly.in",
      "strict_min_version": "49.0",
      "update_url": "https://dl.dropboxusercontent.com/u/71743966/requestly/firefox/updates.json"
    }
  },

  "content_scripts": [
    {
      "matches": [ "*://web.requestly.in/*" ],
      "css": [ "src/pages/generated/css/main.css" ],
      "js": [ "src/pages/generated/js/libs.js", "src/pages/generated/js/main.js" ]
    }
  ],

  "background": {
    "scripts": [
      "browser_config.js",
      "src/background/storageService.js",
      "src/Shared/shared.js",
      "src/Shared/utils.js",
      "src/background/background.js"
    ]
  },

  "browser_action": {
    "default_icon": "resources/images/128x128.png",
    "default_title": "Modify HTTP/HTTPS requests"
  },

  "icons": {
    "16": "resources/images/19x19.png",
    "128": "resources/images/128x128.png"
  },
  
  "permissions": [
    "contextMenus",
    "storage",
    "webRequest",
    "webRequestBlocking",
    "tabs",
    "http://*/*",
    "https://*/*"
  ]
}

This is a sample HTML page (hosted on dropbox) for installing v4.1.9
https://dl.dropboxusercontent.com/u/71743966/requestly/firefox/index.html

Can somebody please help here ? Let me know if something else is required.

So you want to upgrade from 4.1.9 to 4.1.9a? I think that’s not considered a newer version, due to a being an alpha modifier and thus a smaller version.

@freaktechnik I related 4.1.9 to major.minor.patch versioning methodology. Do you mean to say patch updates are not supported or Do I misunderstood you ?

Or where can I go from 4.1.9 to ? I think β€œ4.1.10” < β€œ4.1.9” that’s why I added β€˜a’ considering β€œ4.1.9a” > β€œ4.1.9”.

Suggestions ?

For Firefox normally 4.1.9a < 4.1.9 and 4.1.9 < 4.1.10

1 Like

I see!! Thanks. Let me try this and will revert if I have questions.

Here are the details for the version comparison used in Firefox.

1 Like