Add update_url to manifest.json
Starting with Chrome 63 it is now required to have update_url filed in manifest.json. Without that filed Chrome will show "This extension may have been corrupted."
More information can be found at: https://developer.chrome.com/apps/autoupdate
In the documentation I see: 'A manifest may contain an "update_url" field' which is not a requirement.
In the documentation I see: 'A manifest may contain an "update_url" field' which is not a requirement.
There's also this: "If you're hosting your own extension or app, you need to add the "update_url" field to your manifest.json file"
https://bugs.chromium.org/p/chromium/issues/detail?id=794219
I have added "update_url" field but still getting the error. Here is my manifest:
"manifest_version": 2, "name": "Test Streamer", "description": "A simple extension that allows you to stream your desktop into meetings with Jitsi Meet and Jitsi Videobridge.", "version": "0.1.6", "minimum_chrome_version": "34", "update_url": "https://clients2.google.com/service/update2/crx", "icons": { "16": "jitsi-logo-16x16.png", "48": "jitsi-logo-48x48.png", "128": "jitsi-logo-128x128.png" }, "background": { "scripts": [ "background.js" ], "persistent": true }, "permissions": [ "desktopCapture" ], "externally_connectable": { "matches": [ "://example.com/" ] } }
This link is incorrect.
"update_url": "https://clients2.google.com/service/update2/crx",
You should point update_url to your updates.xml file. See my PR.
Thanks for pointing me to the right direction.
1- Created a new file called updates.xml from updates-example.xml in PR 2- Changed Extension ID 3- Pointed the manifest file to the updates.xml 4- Repackaged the extension -- the error was gone
Got it. Thanks