Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am about to finish my Google Chrome extension. If I'm not mistaking all Chrome apps come with a capability of auto-updating. If so, is there a way for me to test it before I submit my app to the Chrome Web Store?

PS. Also do I need to account for any special conditions in my extension?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
241 views
Welcome To Ask or Share your Answers For Others

1 Answer

To test the updating procedure, it's best to submit your extension to the Web Store in a non-public fashion.

As you publish an item, you have a choice of Public, Unlisted, and Trusted Testers publication.

  • Public means that the extension will be searchable and everyone can install
  • Unlisted means everyone can install, but they need the direct link to the extension listing; it will not be searchable in the Web Store and not indexable by search engines.
  • Trusted Testers is the same as above, but also restricts installs to a whitelist of Google Accounts.

Go with any non-Public option and you can test it as it would actually behave (including the unfortunate delay of automatic review checks).


The method described by kadaj is no longer valid for Windows, as Chrome will reject any CRX not hosted by the Web Store.

But previously, yes, you could test this with setting up your own hosting (i.e. Dropbox Public folder) of the CRX and its associated update XML, as described in the guide. This still works for non-Windows platforms, as well as Dev/Canary builds on Windows.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...