Native messaging and Firefox WebExtensions

I would like to setup communication between my native app, and a Firefox/Chrome extension... Is there a supported way to do this?

The official MDN docs say to look in the Apple developer forums. However the only mention of native messaging is between a native app, and a Safari WebExtension.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

Replies

The native messaging model that Chrome and Firefox use is documented (with an example at https://github.com/mdn/webextensions-examples/tree/master/native-messaging) on that site you listed.

This forum is specifically for questions around Safari Extensions. Did you have a question about the Safari part of native messaging?


That’s a python app... I would like to know how to communicate with a .app bundle. Can I communicate directly, do I need to create an xpcservice, or something else. There’s no documentation anywhere on the internet.

feel free to move this to a more appropriate forum.