cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McFarland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4485) Command line build ignoring some config.xml settings
Date Fri, 02 Aug 2013 02:53:48 GMT

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

Joshua McFarland commented on CB-4485:
--------------------------------------

I've tried the icon tags with direct cordova created project and a phonegap one. The icon
tags don't do anything on build in either of them on Windows 8, though I haven't tried it
on another OS yet.

The biggest issue right now is the content src issue. I know that one is listed in the official
cordova documentation. It's also listed in the java code that loads the main page.

public class MyApp extends DroidGap
{
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        // Set by <content src="index.html" /> in config.xml
        super.loadUrl(Config.getStartUrl());
        //super.loadUrl("file:///android_asset/www/index.html")
    }
}
                
> Command line build ignoring some config.xml settings
> ----------------------------------------------------
>
>                 Key: CB-4485
>                 URL: https://issues.apache.org/jira/browse/CB-4485
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: Windows 8 x64
>            Reporter: Joshua McFarland
>            Assignee: Joe Bowser
>
> I have specifically set the content src and changes the icons in the res folder, but
when building the application is still uses the defaults for both of those settings. It's
not entirely ignoring the config file, because if I change the app name or id it does get
properly updated on build.
> <content src="index-cordova.html" />
> <icon src="icons/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
> <icon src="icons/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
> <icon src="icons/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
> <icon src="icons/android/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

--
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