You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/09 02:31:31 UTC

[GitHub] [cordova-ios] dadigua2333 opened a new issue #1143: evaluateJavaScript do not work. without UIWebView component

dadigua2333 opened a new issue #1143:
URL: https://github.com/apache/cordova-ios/issues/1143


   When I communicate with the web. IOS actively notifies the web. I use it
    `[self.commandDelegate evalJs:@""];`
   It doesn't work. But I use the old version. When uiwebview is included, it can. Does wkwebview need to make some other settings?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1143: evaluateJavaScript do not work. without UIWebView component

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1143:
URL: https://github.com/apache/cordova-ios/issues/1143#issuecomment-920307322


   If you wanted to send a message to the webview, you should be going through the plugin interface for the callback system, e.g. the webview registers a callback which the cordova plugin can keep the callback alive and reuse as necessary for continuous events.
   
   But as for as evaluating javascript with WKWebview, I think you'll find [this](https://developer.apple.com/documentation/webkit/wkwebview/1415017-evaluatejavascript?language=objc) interesting, but not recommended in the context of cordova plugins.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek closed issue #1143: evaluateJavaScript do not work. without UIWebView component

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1143:
URL: https://github.com/apache/cordova-ios/issues/1143


   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org