I've toyed with an unpacked example extension that talks to a native host connector (a simple python script that listens to messages and echoes all it receives).
This works with the following caveats:
- the connector has to be installed under $SNAP_USER_DATA/.config/chromium/NativeMessagingHosts/
- the path to the connector in the manifest needs to be an absolute path (as documented at https://developers.chrome.com/extensions/nativeMessaging), e.g.:
"path": "/home/osomon/snap/chromium/current/.config/chromium/NativeMessagingHosts/native-messaging-example-host"
I've toyed with an unpacked example extension that talks to a native host connector (a simple python script that listens to messages and echoes all it receives).
This works with the following caveats:
- the connector has to be installed under $SNAP_USER_ DATA/.config/ chromium/ NativeMessaging Hosts/
- the path to the connector in the manifest needs to be an absolute path (as documented at https:/ /developers. chrome. com/extensions/ nativeMessaging), e.g.: osomon/ snap/chromium/ current/ .config/ chromium/ NativeMessaging Hosts/native- messaging- example- host"
"path": "/home/