-
11 Jan 2013 3:13 AM #1
Cmd - Native packaging/building has hardcoded image directories
Cmd - Native packaging/building has hardcoded image directories
Hey, not sure if this is absolutely required on iOS but I was using a different directory structure for my images (as I'm doing whitelabel/skinning of our application).
I noticed this was hardcoded inside /3.0.0.250/plugins/touch/current/app-build.js
Which dies because mine are elsewhere:Code:if (packagerConfig.platform.match(/iOS/)) { copy( resolvePath(joinPath(src, 'resources', 'icons')), resolvePath(destination), ignoreFilter); copy( resolvePath(joinPath(src, 'resources', 'loading')), resolvePath(destination), ignoreFilter); }
resources/images/core/stuff.png
resources/images/skin/batman/icons/57.png
resources/images/skin/batman/startup/320x460.jpg
resources/images/skin/robin/icons/57.png
resources/images/skin/robin/startup/320x460.jpg
We just change the required skin name upon build and put them into seperate locations so theres only 1 codebase.
I'm using Architect and created my packager item and noticed theres only a config for 'icon' but nothing for 'startupImage' (despite it being hardcoded in the copy/paste inside this file anyway).
So I guess I have 2 questions:
1) Does iOS Native not allow you to specify the startupImage/icon location (has to be in a particular place)
2) If it is allowed, can we get the ability to specify where the startupImages are and use the 'icon' parameter for copying them over.
Cheeeers
-
14 Jan 2013 2:43 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Thanks for the report! I have opened a bug in our bug tracker.
-
31 Jan 2013 6:10 AM #3
Theeee actual sencha touch startupImage values are still inconsistent and wrong as well:
'320x460': 'resources/startup/320x460.jpg',
'640x920': 'resources/startup/640x920.png',
When it's actually 320x480 and 640x960. Should it look like this?
or like this?Code:'320x460': 'resources/startup/320x480.jpg', '640x920': 'resources/startup/640x960.png',
Code:'320x480': 'resources/startup/320x480.jpg', '640x960': 'resources/startup/640x960.png',
You found a bug! We've classified it as
SDKTOOLS-300
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote