{ "id": "170914", "key": "TIMOB-25697", "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-01-23T10:54:45.000+0000", "created": "2018-01-23T09:05:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [ { "id": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" } ], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:41:13.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": "Issue: Image path is not getting in webview. I would like to set a background image to the webView but it does not work. The image is located in the assets folder. But it works as expected on Android.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new Alloy project\r\n2. Place an image to the assets>>images folder\r\n3. Run the following test code to the iOS device \r\n\r\n{code:title=index.xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:title=index.js}\r\n$.win.open();\r\n\r\n{code}", "attachment": [ { "id": "64728", "filename": "test.jpg", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-23T09:01:51.000+0000", "size": 1486739, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: Local image is not loading to the webveiw.", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.2\r\n \r\nNode.js\r\n Node.js Version = 8.9.3\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.0.1.GA\r\n Target Platform = iphone 5s v11.2.2", "closedSprints": [ { "id": 990, "state": "closed", "name": "2018 Sprint 02 SDK", "startDate": "2018-01-14T22:48:43.544Z", "endDate": "2018-01-28T22:48:00.000Z", "completeDate": "2018-01-29T16:22:42.911Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "433506", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-24001. If we want to fix it, we need to fix app-thinning to not use hashes as discussed with [~cbarber] in the above ticket. We never addressed it so far because there was an idea of an \"universal asset catalog\" instead, which hasn't been requested or prioritized. I'd rather want to see the hashes be removed to match the native iOS behavior and later consider to also do Android.\r\n\r\nSummary: Use the workaround (Setting {{false}} in the tiapp.xml) for now or request a prioritization of removing the hashes. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-23T10:54:45.000+0000", "updated": "2018-01-23T10:54:45.000+0000" }, { "id": "440028", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:41:13.000+0000", "updated": "2018-08-06T17:41:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }