@Frameworks Engineer Well, I don't understand it. Here: https://developer.apple.com/documentation/safariservices/messaging-between-the-app-and-javascript-in-a-safari-web-extension it clearly says that that the native part should communicate to the javascript by dispatchMessage(). Or am I misunderstanding it? It worked in xcode 15.4.
I can't respond immediatelly to incoming message from javascript, because there is some processing to be done in the native part, and it can take some time.
For clarification, I am trying to communicate between javascript and swift part which are both in "Shared (Extension)" directory, and are part of "... Extension" target.