{ "id": "174664", "key": "TIMOB-27734", "fields": { "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": [], "resolution": null, "resolutiondate": null, "created": "2020-01-23T16:08:44.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "android", "cb-tooling", "griffin-app", "icons" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-04-01T08:59:28.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": [], "description": "Currently, there is a DefaultIcon.png and a DefaultIcon-ios.png in the project root directory. iOS uses the DefaultIcon-ios.png but I think Android uses something like /app/assests/android/appicon.png\r\n\r\nTheir should be a DefaultIcon-android.png file that is used by Android (if it exists) and the DefaultIcon.png should be the default fallback if either DefaultIcon-ios.png or DefaultIcon-android.png is missing.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Fix Android to use DefaultIcon.png for generating missing icons", "creator": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "454923", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is definitely a bug/oversight.\r\n\r\nThe Android build [calls|https://github.com/appcelerator/titanium_mobile/blob/c8f358dcdd50763fb509576ee635f626bc9ba069/android/cli/commands/_build.js#L870] the base Builder validate that [generates the list of defaultIcons|https://github.com/appcelerator/node-titanium-sdk/blob/3cfe4346ee87b67fd7da89c2d75a525c588a7c93/lib/builder.js#L143-L146].\r\n\r\nThe problem is nowhere (as far as I can tell) does the Android build call {{generateAppIcons()}} or reference {{this.defaultIcons}}. The Android build should call {{generateAppIcons()}} with the appropriate destination whether that be in the {{res}} folder or elsewhere.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-04-01T00:30:41.000+0000", "updated": "2020-04-01T00:30:41.000+0000" }, { "id": "454927", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "FWIW, the work got done and then reverted in TIMOB-19486", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-04-01T08:59:28.000+0000", "updated": "2020-04-01T08:59:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }