[AC-6026] Error when create web view IOS using SDK 7.5.0.GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2018-11-22T22:44:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Sathaphorn Kerdmalai |
Assignee | Shak Hossain |
Created | 2018-11-19T02:35:51.000+0000 |
Updated | 2018-11-22T22:44:27.000+0000 |
Description
var webView = thiz.webView = Ti.UI.createWebView({
top : 0,
left : 0,
scalesPageToFit : true,
url : '',
backgroundColor : 'transparent'
});
see error log attachment below.
Attachments
File | Date | Size |
---|---|---|
7.5.0.png | 2018-11-19T02:35:43.000+0000 | 574084 |
[~iblack.dum] Can you give complete reproducible code please? And what iOS version this is happening? Thanks!
IOS 12.1 iPhoneX simulator. I've just created web view.
[~iblack.dum] With given test code I am not able to reproduce the issue. I tried with test case -
but unable to reproduce it. We need complete reproducible test case. Is this problem happening on previous versions as well? And in your test case I believe 'thiz.webView' is 'this.webView'.
SDK 7.4.1.GA there is no error its work perfectly. It only occurs when I use sdk 7.5.0.GA
I think I know the cause of an error. It error when I try to use evalJS.
Hello [~iblack.dum], Can you send a standalone sample code for us to test on 7.5.1.GA? Thanks.
I have to add a property run-on-main-thread on tiapp.xml
Hello, [~iblack.dum] So, your issue is resolved I believe?