Hello all, I am using a Webview, and I was wonderi...
# javascript
t
Hello all, I am using a Webview, and I was wondering how to use 
evaluateJavascript(...)
  to set a javascript variable to a javascript object using the string parameter in the function. What I have so far:
Copy code
val javascriptString = "javascript: someString = {\"key\":\"value\"}"
webView.evaluateJavascript(javascriptString, null)
This is not working. Can someone point me in the right direction?
😶 3
e
This channel is for Kotlin/JS, not about arbitrary WebView/Javascript questions.