{ "id": "153726", "key": "TIMOB-20143", "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": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-12-21T20:08:34.000+0000", "created": "2015-12-09T12:16:34.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0", "webview", "windows", "windows8.1" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [ { "id": "51358", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "159598", "key": "TIMOB-23219", "fields": { "summary": "Windows: Parity: Cannot set HTML property on a webview", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50612", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "154852", "key": "TIMOB-20383", "fields": { "summary": "Windows: WebViews with url property with relative reference causes build error", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50168", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153978", "key": "TIMOB-20161", "fields": { "summary": "Windows: Webview not cleaned up when parent window closed", "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 } } } }, { "id": "50134", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152248", "key": "TIMOB-20115", "fields": { "summary": "Windows: Can't display local url on windows phone", "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": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-15T15:09:51.000+0000", "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" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "I cannot load local html page (located in Resources directory)\r\n\r\nThis code works on Android and iOS but on Windows 8.1 give \"Unknow error\"\r\n\r\nvar htmlPage = \"/help.html\";\r\n$.webview.url = htmlPage; \r\n\r\nThis workaround code on Windows 8.1 don't give any error but don't load the page (blank screen)\r\n\r\nvar htmlPage = Ti.Filesystem.resourcesDirectory + Ti.Filesystem.separator + \"help.html\";\r\n$.webview.url = htmlPage; ", "attachment": [], "flagged": false, "summary": "Windows: Titanium.UI.WebView don't load local html page", "creator": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "environment": "OS: Windows 8.1 Pro \r\nVisual Studio: 2013 Update 4 \r\nAppcelerator Studio: 4.4.0 \r\nTitanium SDK: 5.1.1.GA", "closedSprints": [ { "id": 543, "state": "closed", "name": "2015 Sprint 26 SDK", "startDate": "2015-12-19T01:30:23.690Z", "endDate": "2016-01-02T01:30:00.000Z", "completeDate": "2016-01-04T02:30:59.966Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "373309", "author": { "name": "toshiro", "key": "toshiro", "displayName": "Toshiro Yagi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Assuming you have Resources/help.html or app/assets/help.html in your project directory, here's my workaround:\r\n\r\n{noformat}\r\nvar htmlPage = \"/help.html\";\r\nif(OS_WINDOWS){\r\n htmlPage = \"ms-appx-web://\" + htmlPage;\r\n}\r\n$.webview.url = htmlPage;\r\n\r\n{noformat}\r\n", "updateAuthor": { "name": "toshiro", "key": "toshiro", "displayName": "Toshiro Yagi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-19T05:11:18.000+0000", "updated": "2015-12-19T05:11:50.000+0000" }, { "id": "373310", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/510", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-19T08:05:44.000+0000", "updated": "2015-12-19T08:05:44.000+0000" }, { "id": "373311", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "body": "Thanks you!\r\n\r\nThe workaround works well.\r\n\r\nLuca", "updateAuthor": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-19T12:04:39.000+0000", "updated": "2015-12-19T12:04:39.000+0000" }, { "id": "382655", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, WebView with local html file now opens correctly without issue on windows devices.\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.6.0.201604081249 \r\nTi SDK: 5.3.0.v20160413061223 \r\nAppc NPM: 4.2.5-1 \r\nAppc Core: 5.3.0-12 \r\nNode: v4.4.2\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-13T23:25:25.000+0000", "updated": "2016-04-13T23:25:25.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }