{ "id": "152138", "key": "TIMOB-23806", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": null, "resolutiondate": null, "created": "2015-10-17T05:27:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-02-06T19:15:21.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Currently, we can only set local icons for UIShortcutItems using our SDK API. As static shortcuts are added through the xml, it is natively possible to provide the asset catalog name there.\r\n\r\nProposal: We need to hash the values inside the {{UIApplicationShortcutItems}} array dict, that have the key {{UIApplicationShortcutItemIconFile}} to get our asset catalog name. See this example:\r\n\r\n{code}\r\nUIApplicationShortcutItems\r\n \r\n \r\n UIApplicationShortcutItemIconFile\r\n\r\n \r\n images/icons/settings.png\r\n\r\n UIApplicationShortcutItemTitle\r\n select_canteen\r\n UIApplicationShortcutItemType\r\n SelectCanteen\r\n UIApplicationShortcutItemUserInfo\r\n \r\n \r\n \r\n{code}", "attachment": [], "flagged": false, "summary": "Allow local images in static shortcut items (hash image names)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "370052", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "With which function are the image names hashed in the asset catalog?", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-12T08:27:32.000+0000", "updated": "2015-11-12T08:27:32.000+0000" }, { "id": "370093", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~benutzername] Check this out: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/ImageLoader.m#L514\r\n\r\nI think if you manually hash the names you should make it work for now (as I think thats what you want to do).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-12T16:30:26.000+0000", "updated": "2015-11-12T16:30:26.000+0000" }, { "id": "370102", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "It works by searching the hashes in the image assets through Xcode ", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-12T17:47:37.000+0000", "updated": "2015-11-12T17:47:37.000+0000" }, { "id": "393899", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Somewhere in iOS build it needs to intercept these elements and convert them to hash before writing them to info.plist. This has to be done in such a way it doesn't force a rebuild.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-23T05:16:55.000+0000", "updated": "2016-08-23T05:20:03.000+0000" }, { "id": "393900", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "By \"CLI\", you mean \"iOS build\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-23T05:18:21.000+0000", "updated": "2016-08-23T05:18:21.000+0000" }, { "id": "393901", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "yes. pardon me. corrected accordingly.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-23T05:19:52.000+0000", "updated": "2016-08-23T05:19:52.000+0000" }, { "id": "454086", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~vijaysingh] Is this ticket still relevant now that asset name hashing is no more?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-06T06:19:46.000+0000", "updated": "2020-02-06T06:20:13.000+0000" }, { "id": "454100", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It should be fixed in TIMOB-25032.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-06T19:15:21.000+0000", "updated": "2020-02-06T19:15:21.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }