brodybits commented on issue #756: Unable to post message to file://. Recipient has origin null, on Cordova WKWebView engine page URL: https://github.com/apache/cordova-ios/issues/756#issuecomment-569568067 My apologies for the delay, I just transferred this issue to the cordova-ios repository. It looks to me like you are trying to do several things at once in your app: - embed in an existing Swift app, which is not really documented or even tested yet (see apache/cordova-docs#1045) - do window.postMessage on an HTML5 application "served" from file:// URI rather than HTTP(S) web app, where there will be some differences that should really be documented better (apache/cordova-docs#1044) - switch from UIWebView to WKWebView which has a number of known implications as discussed in some other issues I would *highly* recommend that you consider troubleshooting the issues with window.postMessage and WKWebView in a *new* Cordova test app before you try embedding into an existing app.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
