{ "id": "117557", "key": "TIMOB-14644", "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": "15566", "description": "2013 Sprint 15 Tooling", "name": "2013 Sprint 15 Tooling", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-25T22:22:40.000+0000", "created": "2013-07-24T19:28:52.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-18T11:23:42.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Add support for platform specific folder assets", "attachment": [], "flagged": false, "summary": "Liveview does not read files from platform specific folder", "creator": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "263263", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "resolved in [master] https://github.com/appcelerator/liveview/commit/1d3882115cf98a72778c28a68a3858faa5f5aa76", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T22:22:26.000+0000", "updated": "2013-07-25T22:22:26.000+0000" }, { "id": "285008", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312171913\r\nSDK:3.2.0.v20131217190633\r\nalloy: 1.3.0-cr2\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nXcode:5.0.2\r\nOS: Mac OSX 10.9\r\nDevice: HTC Desire(v4.0.3) and Iphone5C(v7.0.4)\r\n\r\n{code}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow();\r\nvar imageView = Titanium.UI.createImageView({\r\n\t\timage:'/chat.png',\r\n\t\twidth:261,\r\n\t\theight:178,\r\n\t\ttop:20,\r\n\t\tborderColor:'red',\r\n\t\tborderWidth:2\r\n\t});\r\nwin.add(imageView);\r\nwin.open();\r\n{code}\r\nSteps used to test:\r\n1) Copy paste the above code in app.js\r\n\r\n2) Put any two different png images with same name inside individual platform specific folders.(just to differentiate the platform specific assets are read while liveView enabled.)\r\nHave used two different image but with same name as \"chat.png\" and have put under Resources> android>chat.png and Resources>iphone>chat.png\r\n\r\n3)Enable LiveView and run the app on both the platforms individually.\r\n\r\nExpected Result:\r\n3) Image inside imageView must be same as the one which were put inside specific folders in Step2.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T11:23:42.000+0000", "updated": "2013-12-18T11:23:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }