pinus.acer
pinus.acer

Reputation: 972

Packaging Chrome extension with a sidebar

I'm trying to create an install package of my extension. It uses chrome.experimental.sidebar API. When I create the package and install it, everything works just after teh install. When I restart Chrome I cannot open the sidebar - it doesn't show. The onclick method works - I've added an alert to show at the end of it.

I turned on using experimental API in chrome://flags. When I use the extension installed in a folder everything works great.

Am I doing something wrong or does Chrome disallow using expermiental API from packages?

Upvotes: 0

Views: 329

Answers (1)

Mihai Parparita
Mihai Parparita

Reputation: 4236

Can you include the manifest file that you're using? Chrome has a known bug where an empty manifest value (e.g. "sidebar" : {}) will not be preserved across restarts. Adding a dummy value inside the sidebar dictionary should prevent this.

Upvotes: 2

Related Questions