0

I need to setup a native application which talks to a Chrome extension. For that I am creating a setup, but I need the extension's id to be added in the native application's manifest file. That id says which extensions are allowed to talk with that native application.

How to get the extension id, assuming the user manually installs the extension by dragging and dropping.

Btw, To my knowledge installing an external chrome extension (no chrome web store) silently is close to impossible. I highly appreciate if someone has any solution for that, too.

John
  • 2,820
  • 3
  • 30
  • 50
Reza Ahmadi
  • 357
  • 3
  • 12

1 Answers1

1

The recommended flow would be to keep the extension in the Web Store (possibly unlisted if it does not work without the module), silently queue it for installation using the registry or other platform-specific method, and then warn the user to accept the install in the dialog on next browser restart. This is as close to "silent" as it gets.

If you absolutely have to distribute the extension externally (and drag&drop install will probably not work), you can pin the ID by setting the "key" field in the manifest. See this question for ways of doing so.

Community
  • 1
  • 1
Xan
  • 74,770
  • 16
  • 179
  • 206