I'm making a call
webView.loadUrl("javascript:alert(javascriptFunc()));
webView.setUpWebChromeClient( new WebChromeClient() {
@Override
public boolan onJsAlert(WebView view, String url, final String message, JsResult result) {
....
}});
The message im getting is coming back as
[object Object];
It's supposed to be a JSON object thats the response however I can only get the String representation of the object. Please help on how I would access the object!