Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19511] Add support for platform specific DefaultIcon.png files

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2015-09-14T18:16:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsTooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2015-09-14T18:03:56.000+0000
Updated2015-10-13T22:41:50.000+0000

Description

Titanium SDK 5.0.0 added support for DefaultIcon.png in the project root directory. This image is intended to be applied to all platforms. Since iOS does not support app icons with an alpha channel, we must allow platform specific images. DefaultIcon.png will continue to live in the project root, but this ticket is meant to add a platform specific override from the <project-dir>/platform/<platform>/DefaultIcon.png file. This logic should be added to to titanium_mobile/node_modules/titanium-sdk/lib/builder.js in the generateAppIcons() function (https://github.com/appcelerator/titanium_mobile/blob/master/node_modules/titanium-sdk/lib/builder.js#L412). It should check for the platform specific DefaultIcon.png, then if that doesn't exist, fall back to the one in the project root before failing out.

Comments

  1. Chris Barber 2015-09-14

    Dupe of TIMOB-19509

JSON Source