Original issue 1258 created by codenameone on 2015-01-06T02:24:53.000Z:
What steps will reproduce the problem?
- Add a new button to the UI
- Add action event to the button as
ConnectionRequest request = new ConnectionRequest();
request.setUrl("http://www.google.com");
request.setPost(false);
NetworkManager.getInstance().addToQueueAndWait(request);
Dialog.show("test", new String(request.getResponseData()), "OK", null);
- Run on device and press the button
What is the expected output? What do you see instead?
- Expected to have dialog showed up with HTML contents.
- However, the dialog shows up with empty string. After a few tries it hangs and crashes.
What version of the product are you using? On what operating system?
- iPhone 6+, iOS 8.1
- iPhone 4S, iOS 8.1.1
Please provide any additional information below.
- By adding "ios.newVM=false", it works perfectly.
Original issue 1258 created by codenameone on 2015-01-06T02:24:53.000Z:
What steps will reproduce the problem?
ConnectionRequest request = new ConnectionRequest();
request.setUrl("http://www.google.com");
request.setPost(false);
NetworkManager.getInstance().addToQueueAndWait(request);
Dialog.show("test", new String(request.getResponseData()), "OK", null);
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.