cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommy-Carlos Williams (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-2237) CLI does not set platform specific preferences in iOS from project level config.xml
Date Thu, 17 Jan 2013 23:04:13 GMT
Tommy-Carlos Williams created CB-2237:
-----------------------------------------

             Summary: CLI does not set platform specific preferences in iOS from project level
config.xml
                 Key: CB-2237
                 URL: https://issues.apache.org/jira/browse/CB-2237
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.3.0
         Environment: Mac OS X 10.8.2, Cordova CLI v2.3.4
            Reporter: Tommy-Carlos Williams
            Assignee: Filip Maj


Setting say "UIWebViewBounce" in the main ./www/config.xml does not get set properly for the
app in iOS (untested for other platforms).

Reproduction:

* cordova create iOSConfigRepro org.devgeeks.iosconfigrepro iOSConfigRepro
* cd iOSConfigRepro/
* (add '<preference name="UIWebViewBounce" value="false" />' to ./www/config.xml)
* cordova platform add ios
* grep UIWebViewBounce ./www/config.xml
	* <preference name="UIWebViewBounce" value="false" />
* grep UIWebViewBounce ./platforms/ios/www/config.xml
	* <preference name="UIWebViewBounce" value="false" />
* grep UIWebViewBounce ./platforms/ios/iOSConfigRepro/config.xml
	* <preference name="UIWebViewBounce" value="true" />

"UIWebViewBounce" preference gets set from project level config.xml in the platforms/ios/www/config.xml
but NOT in the platforms/ios/<app_name>/config.xml

platforms/ios/<app_name>/config.xml seems to be authoritative for these preferences.

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