jidesha icon indicating copy to clipboard operation
jidesha copied to clipboard

Add update_url to manifest.json

Open hubertbanas opened this issue 8 years ago • 7 comments

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

hubertbanas avatar Dec 22 '17 16:12 hubertbanas

In the documentation I see: 'A manifest may contain an "update_url" field' which is not a requirement.

damencho avatar Dec 26 '17 16:12 damencho

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"

bgrozev avatar Dec 26 '17 16:12 bgrozev

https://bugs.chromium.org/p/chromium/issues/detail?id=794219

damencho avatar Jan 05 '18 03:01 damencho

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/" ] } }

gurumark avatar Jan 05 '18 15:01 gurumark

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.

hubertbanas avatar Jan 05 '18 16:01 hubertbanas

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

gurumark avatar Jan 05 '18 17:01 gurumark

Got it. Thanks

StreamTitan avatar Mar 02 '18 21:03 StreamTitan