cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-4476) Seems to need two copies of config.xml - at least on iOS
Date Wed, 04 Dec 2013 16:35:35 GMT

     [ https://issues.apache.org/jira/browse/CB-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-4476.
-------------------------------

    Resolution: Fixed

Docs have improved quite a bit since 3.0 in this department. Closing issue.

> Seems to need two copies of config.xml - at least on iOS
> --------------------------------------------------------
>
>                 Key: CB-4476
>                 URL: https://issues.apache.org/jira/browse/CB-4476
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 3.0.0
>         Environment: OS X
>            Reporter: Michael Stanford
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: documentation
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> My project appears to need two copies of config.xml:
>  - www/config.xml
>  - platforms/ios/My App/config.xml
> The documentation (https://cordova.apache.org/docs/en/2.8.0/guide_project-settings_index.md.html)
doesn't explain why I need two, and the app appears to compile and work correctly when they
are identical, although they are different (but with the same widget id) when the project
is first created. But removing either of them causes "$cordova emulate ios" to fail.
> This seems to violate the DRY principle, particularly because it seems easy to put different
version numbers in them without raising any warnings.
> Maybe it's something to do with the space in the app name?
> Perhaps a documentation change is needed, saying that "platforms/ios/My App/config.xml"
overrides "www/config.xml"? But if that is the case, it seems that for consistency it should
be possible to put the over-riding version into the merges directory, but I haven't figured
out how to override "platforms/ios/My App/config.xml" from the merges directory, so again
maybe a change to the documentation would help.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message