We have Safari App(!) Extension, the one that has no background page. We want to port it to a Safari Web Extension, so it can run on iOS 15.
The App Extension extensively uses safari.extension.dispatchMessage, and we want to replace it with browser.runtime.sendNativeMessage, which doesn't work at all.
There's a couple questions:
- How to get a response from browser.runtime.sendNativeMessage
- Do we have to use browser.runtime.connectNative? How to use it?
- Where is the documentation on all of this?