Michael Stanford created CB-4476:
------------------------------------

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


My project appears to need two copies of config.xml:
 - www/config.xml
 - platforms/ios/My App/config.xml

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

Reply via email to