google-chromegoogle-chrome-devtoolsgoogle-chrome-appchrome-options

How do I make an option page in a Chrome (non-legacy) packaged app?


Some time ago, there were still Chrome-packaged legacy apps which could make options-pages. I want to use the option-page in my Chrome app, but when I try to use it, the extension page shows:

''options_page' is only allowed for extensions, hosted apps, and legacy packaged apps, but this is a packaged app'.

How can I use an options-page or something of the kind to store and read settings for my app?


Solution

  • As the message above, you need to create an "option page" by yourself for the Chrome Apps. Also, you can use following features to store each value for the "option page":

    That is, you should implement the feature for providing the "option page" by yourself, including a page creation, each event handling and storing each setting value.