Recently I asked you that the app hangs calling executeAndReturnString, you send me an example working, and works really, but is you set the property BrowserComponent.useWKWebView to true then the app hangs when call the method (executeAndReturnString).
Display.getInstance().setProperty("BrowserComponent.useWKWebView", "true");
BrowserComponent browserComponent = new BrowserComponent();
Display.getInstance().setProperty("BrowserComponent.useWKWebView", "false");
ToastBar.showInfoMessage("navigator.userAgent.2:" + browserComponent.executeAndReturnString("navigator.userAgent"));
My apps fails on all of javascritp methods.