{ "id": "173003", "key": "TIMOB-26860", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-07T14:27:50.000+0000", "created": "2019-02-14T23:22:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "WebView", "html", "ios", "regression" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-13T02:00:48.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nWhen loading an HTML string to a {{WebView}} via its \"html\" property, it is no longer able to access the app's local files under the \"Resources\" directory as of Titanium 8.0.0.RC.\r\n\r\n*Steps to reproduce:*\r\n# Create a Classic \"Default Project\" app.\r\n# Replace the \"app.js\" code with the below code.\r\n# Build with Titanium 8.0.0 and run on iOS.\r\n# Notice that an image failed to load within the web view.\r\n# Build with Titanium 7.5.x and run on iOS.\r\n# Notice that the image successfully loaded within the web view.\r\n\r\n{code:javascript}\r\nvar htmlText =\r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'\t
' +\r\n\t\t'\t\t' +\r\n\t\t'\t' +\r\n\t\t'\t' +\r\n\t\t'\t\tLocal Image File
' +\r\n\t\t'\t\tLocal Image File
' +\r\n\t\t'\t\tLocal Image File
' +\r\n\t\t'\t\tLocal Image File
' +\r\n\t\t'\t\t