{ "id": "172643", "key": "AC-6026", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-11-22T22:44:26.000+0000", "created": "2018-11-19T02:35:51.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-22T22:44:27.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "{code:java}\r\nvar webView = thiz.webView = Ti.UI.createWebView({\r\n\t\t\ttop : 0,\r\n\t\t\tleft : 0,\r\n\t\t\tscalesPageToFit : true,\r\n\t\t\turl : '',\r\n\t\t\tbackgroundColor : 'transparent'\r\n});\r\n{code}\r\n\r\nsee error log attachment below.\r\n\r\n\r\n", "attachment": [ { "id": "65873", "filename": "7.5.0.png", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-11-19T02:35:43.000+0000", "size": 574084, "mimeType": "image/png" } ], "flagged": false, "summary": "Error when create web view IOS using SDK 7.5.0.GA", "creator": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "subtasks": [], "reporter": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "environment": "SDK 7.5.0.GA , IOS", "comment": { "comments": [ { "id": "443730", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~iblack.dum] Can you give complete reproducible code please?\r\nAnd what iOS version this is happening?\r\nThanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-19T04:00:56.000+0000", "updated": "2018-11-19T04:00:56.000+0000" }, { "id": "443731", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "body": "IOS 12.1 iPhoneX simulator. I've just created web view.", "updateAuthor": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-11-19T04:03:51.000+0000", "updated": "2018-11-19T04:03:51.000+0000" }, { "id": "443734", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~iblack.dum] With given test code I am not able to reproduce the issue. I tried with test case -\r\n\r\n{code:java}\r\nvar webView = this.webView = Ti.UI.createWebView({\r\n top : 0,\r\n left : 0,\r\n scalesPageToFit : true,\r\n url : '',\r\n backgroundColor : 'transparent'\r\n});\r\n\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nwindow.add(webView);\r\nwindow.open();\r\n{code}\r\n but unable to reproduce it. We need complete reproducible test case. \r\nIs this problem happening on previous versions as well?\r\nAnd in your test case I believe 'thiz.webView' is 'this.webView'.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-19T06:30:23.000+0000", "updated": "2018-11-19T06:30:23.000+0000" }, { "id": "443735", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "body": "SDK 7.4.1.GA there is no error its work perfectly.\r\nIt only occurs when I use sdk 7.5.0.GA", "updateAuthor": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-11-19T06:41:51.000+0000", "updated": "2018-11-19T06:41:51.000+0000" }, { "id": "443736", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "body": "I think I know the cause of an error.\r\nIt error when I try to use evalJS.", "updateAuthor": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-11-19T07:05:09.000+0000", "updated": "2018-11-19T07:05:09.000+0000" }, { "id": "443758", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~iblack.dum], Can you send a standalone sample code for us to test on 7.5.1.GA? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-19T22:26:04.000+0000", "updated": "2018-11-19T22:26:04.000+0000" }, { "id": "443764", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "body": "I have to add a property run-on-main-thread on tiapp.xml\r\n\r\n{code:java}\r\ntrue\r\n{code}\r\n\r\n", "updateAuthor": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-11-20T03:25:57.000+0000", "updated": "2018-11-20T03:25:57.000+0000" }, { "id": "443791", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, [~iblack.dum] So, your issue is resolved I believe? ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-20T21:15:23.000+0000", "updated": "2018-11-20T21:15:23.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }