[
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641495#comment-14641495
]
jcesarmobile edited comment on CB-9076 at 7/25/15 1:53 PM:
-----------------------------------------------------------
I confirm the duplicate entry on the config.xml issue
If you use <preference name="StatusBarOverlaysWebView" value="true" /> the
existing <preference name="StatusBarOverlaysWebView" value="true" /> disappears
and a new <preference name="StatusBarOverlaysWebView" value="true" /> appears,
if you chage it to <preference name="StatusBarOverlaysWebView" value="false" />
then the first <preference name="StatusBarOverlaysWebView" value="true" />
appears again and the other changes to <preference
name="StatusBarOverlaysWebView" value="false" />
So, if you use true or don't put the preference only one appears, if you use
false then two will appear
was (Author: jcesarmobile):
I confirm the issue
If you use <preference name="StatusBarOverlaysWebView" value="true" /> the
existing <preference name="StatusBarOverlaysWebView" value="true" /> disappears
and a new <preference name="StatusBarOverlaysWebView" value="true" /> appears,
if you chage it to <preference name="StatusBarOverlaysWebView" value="false" />
then the first <preference name="StatusBarOverlaysWebView" value="true" />
appears again and the other changes to <preference
name="StatusBarOverlaysWebView" value="false" />
So, if you use true or don't put the preference only one appears, if you use
false then two will appear
> Invalid platform specific config.xml when using statusbar plugin
> ----------------------------------------------------------------
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugin Statusbar
> Affects Versions: 5.0.0
> Environment: iOS
> Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project:
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> <preference name="StatusBarOverlaysWebView" value="true" />
> <preference name="StatusBarOverlaysWebView" value="false" />
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config
> file is used instead of the "false" value that I want and that is in the
> original config.xml file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]