Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add update_url to manifest.json #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hubertbanas
Copy link

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

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
@damencho
Copy link
Member

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

@bgrozev
Copy link
Member

bgrozev commented Dec 26, 2017

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"

@damencho
Copy link
Member

damencho commented Jan 5, 2018

@gurumark
Copy link

gurumark commented Jan 5, 2018

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

@hubertbanas
Copy link
Author

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.

@gurumark
Copy link

gurumark commented Jan 5, 2018

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

@StreamTitan
Copy link

StreamTitan commented Mar 2, 2018

Got it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants