{ "id": "150047", "key": "TIMOB-19296", "fields": { "issuetype": { "id": "8", "description": "A technical task.", "name": "Technical task", "subtask": true }, "parent": { "id": "148692", "key": "TIMOB-18998", "fields": { "summary": "iOS9: App thinning: Create XCAssets (imagesets) w/ the cli and access resources within those catalogs at runtime", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-01T04:00:26.000+0000", "created": "2015-07-31T03:09:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "appthinning" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-10-30T20:34:41.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": "Currently, titanium image related methods expect a local or remote url. Assets catalog work by finding the image based on just the name of the image.\r\nSo we have to modify the methods such that, it will first check if the assets catalog exist and contains the image, if it doesn't, then it will proceed as usual to treat it as a local or remote url.", "attachment": [], "flagged": false, "summary": "iOS9: Update image related methods to support the use of assets catalogs", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 494, "state": "closed", "name": "2015 Sprint 20 SDK", "startDate": "2015-09-26T00:29:19.845Z", "endDate": "2015-10-10T00:29:00.000Z", "completeDate": "2015-10-12T05:33:30.964Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "358913", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7004", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-04T07:37:03.000+0000", "updated": "2015-08-04T07:37:03.000+0000" }, { "id": "360003", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-17T03:36:31.000+0000", "updated": "2015-08-17T03:36:31.000+0000" }, { "id": "365350", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T03:50:35.000+0000", "updated": "2015-09-30T03:50:35.000+0000" }, { "id": "365402", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h4. Test cases\r\nYou can test these in KitchenSink Project\r\n1. Imageview should still be able to load blob (BaseUI/View/Image Views/Image Blob)\r\n2. Imageview should still be able to load remote url (BaseUI/View/Image Views/Basic)\r\n3. Imageview should be able to load TiFile (BaseUI/View/Image Views/Image File)\r\n4. Imageview should be able to load local image (Controls/Picker/Picker custom images)\r\n5. Imageview should be able to animate files (BaseUI/View/Image Views/Animated)\r\n6. Imageview should be able to load gif files (not in asset catalog) (BaseUI/View/Image Views/Animated)\r\n7. controls should be able to show images (everything in kitchen sink from tab bar to buttons)\r\n8. image view should load downloaded images (not in asset catalog) (BaseUI/View/Image Views/Image Blob)\r\nOutside of KitchenSink, in a new project:\r\n1. Test if changing images while keeping the same file name is shown in subsequent builds.\r\n\r\nFor app thinning testing, refer to parent ticket, and use Fokke's sample app.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T12:23:25.000+0000", "updated": "2015-09-30T12:23:25.000+0000" }, { "id": "368493", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified implemented, using:\r\n\r\nMacOS 10.11.2 (15C27e)\r\nStudio 4.4.0.201510290507\r\nTi SDK 5.1.0.v20151028190028\r\nAppc NPM 4.2.1\r\nAppc CLI 5.1.0-38\r\nTi CLI 5.0.5\r\nAlloy 1.7.16\r\nArrow 1.3.13\r\nXcode 7.2 (7C46l)\r\nNode v0.12.7\r\nJava 1.7.0_80\r\nproduction\r\n\r\nAll KitchenSink tests above passed, asset catalog is successfully created, and the sample app from the parent ticket was successfully thinned.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-30T20:34:41.000+0000", "updated": "2015-10-30T20:34:41.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }