cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-2237) CLI does not set platform specific preferences in iOS from project level config.xml
Date Fri, 18 Jan 2013 00:06:13 GMT

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

Filip Maj resolved CB-2237.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.0

Fixed in [92ff11f|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=92ff11f50513a47d61bf7c59892f8bdc6f68d666].

Pushed to npm as 2.3.5.
                
> 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
>             Fix For: 2.4.0
>
>
> 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