Start a new topic

callJavascript with .png file path

callJavascript with .png file path


Hi,

I need to pass a PNG image file URL to architectView.callJavascript(js), but it throws an error. But a .JPG image file path is accepted.

Is this a known problem? Please confirm.

Hi there!

Not sure if I get you right but we do not have any special handling in place.
Calling e.g. achitectView.callJavaScript("yourFunctionName('yourStringParam')"); executes the JS command in the webView, same way as if you were calling it in its context.

Best regards
Login or Signup to post a comment