In the Kitchen Sink demo, the web browser crashes the application. The crash occurs when generating the peer image.
I have narrowed it down to this line:
await ((WebView)element).CapturePreviewToStreamAsync(stream);
https://github.com/codenameone/CodenameOne/blob/master/Ports/UWP/VSProjectTemplate/UWPApp/src/com/codename1/impl/SilverlightPeer.cs#L135
And it appears to happen because the webview visibility is set to Collapsed. Setting it to visible fixes the issue, however, for some reason, I still don't see any web view content in the kitchen sink demo. So requires further investigation.
In the Kitchen Sink demo, the web browser crashes the application. The crash occurs when generating the peer image.
I have narrowed it down to this line:
https://github.com/codenameone/CodenameOne/blob/master/Ports/UWP/VSProjectTemplate/UWPApp/src/com/codename1/impl/SilverlightPeer.cs#L135
And it appears to happen because the webview visibility is set to Collapsed. Setting it to visible fixes the issue, however, for some reason, I still don't see any web view content in the kitchen sink demo. So requires further investigation.