Reputation: 972
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
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