cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dooms (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)
Date Thu, 25 Jul 2013 06:41:48 GMT

    [ https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719303#comment-13719303
] 

Dooms commented on CB-4387:
---------------------------

I second this issue.

I ran all 3 commands I could find:
 cordova prepare ios
 cordova build ios
 cordova compile ios

And yet:
a) the ios project directory's config.xml is unchanged, after making changes to /www/config.xml
b) the ios project's "resources" directory (icons, splashscreen), show the time&date modified,
but not to the icons specified in /www/res


                
> "cordova build" - bad handling of resources (icons, splash screens)
> -------------------------------------------------------------------
>
>                 Key: CB-4387
>                 URL: https://issues.apache.org/jira/browse/CB-4387
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>            Reporter: Jan Becicka
>            Assignee: Filip Maj
>            Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which contains icons
and splashscreens is completely copied into assets/www. So the resulting app contains splash
screens for all possible mobile platforms, which is completely useless. Res folder should
not be copied at all, because right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly smaller (1.7MB)
but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" and "cordova
build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message