{ "id": "172114", "key": "TIMOB-26330", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-08-23T09:41:07.000+0000", "created": "2018-08-22T18:50:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" }, { "id": "20220", "name": "Release 7.3.1", "archived": false, "released": true, "releaseDate": "2018-08-30" } ], "issuelinks": [ { "id": "56745", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172102", "key": "TIMOB-26325", "fields": { "summary": "Android: Ti.UI.WebView not firing events in 7.x", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-08-23T09:41:35.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5. Steps to reproduce:\r\n1.Use the code below in app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'black',\r\n layout : 'vertical'\r\n});\r\n \r\nvar webview = Titanium.UI.createWebView({url:'https://www.appcelerator.com'});\r\nwebview.setUserAgent('test');\r\n \r\nwebview.addEventListener('beforeload', function(e){\r\n\tTi.API.info(\"beforeload = e.url=\" + e.url);\r\n\t\r\n\t\r\n\t\r\n});\r\nwebview.addEventListener('load', function(e){\r\n\tTi.API.info(\"load = e.url=\" + e.url);\r\n\tTi.API.info(\"userAgent = agent=\" + e.userAgent);\r\n \r\n\t\r\n});\r\n \r\nwin.add(webview);\r\n \r\nwin.open(); \r\n{code}\r\n\r\nh5. Actual results:\r\n1.The web view does not load\r\n\r\nh5.Expected results:\r\n1.Web VIiew should load successfully", "attachment": [], "flagged": false, "summary": "Android: WebView does not load when Custom Useragent is set", "creator": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.3.1.v20180822075516\r\nDevice = google pixel with android 8.1 and 7", "closedSprints": [ { "id": 1065, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2018-08-13T17:39:36.846Z", "endDate": "2018-08-27T17:39:00.000Z", "completeDate": "2018-08-29T16:10:57.013Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "441009", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-26325, fixed in 7.3.1. Workaround: Set the {{userAgent}} property on creation of the web-view.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-23T09:41:07.000+0000", "updated": "2018-08-23T09:41:07.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }