You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Tommy-Carlos Williams (JIRA)" <ji...@apache.org> on 2013/01/18 00:04:13 UTC
[jira] [Created] (CB-2237) CLI does not set platform specific
preferences in iOS from project level config.xml
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