You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/04/18 20:33:17 UTC
[jira] [Updated] (CB-6472) Adding content to -Info.plist -
Unexpected behaviour
[ https://issues.apache.org/jira/browse/CB-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-6472:
---------------------------------
Component/s: (was: iOS)
> Adding content to -Info.plist - Unexpected behaviour
> ----------------------------------------------------
>
> Key: CB-6472
> URL: https://issues.apache.org/jira/browse/CB-6472
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Affects Versions: 3.4.0
> Environment: Mac OS X
> Reporter: Jean-Christophe Hoelt
> Priority: Minor
>
> Trying to add content NOT at the root of info.plist, to a node already having existing content.
> The existing content gets deleted, not merged with new content.
> Use case: a plugin providing Newsstand integration.
> Doing this in plugin.xml:
> <config-file target="*-Info.plist" parent="CFBundleIcons">
> <dict>
> <key>CFBundlePrimaryIcon</key>
> <dict>
> <key>UINewsstandIcon</key>
> <dict>
> ...
> Info.plist before install:
> <key>CFBundleIcons</key>
> <dict>
> <key>CFBundlePrimaryIcon</key>
> <dict>
> <key>CFBundleIconFiles</key>
> <array>
> ...
> </array>
> </dict>
> </dict>
> Info.plist after install:
> <key>CFBundleIcons</key>
> <dict>
> <key>CFBundlePrimaryIcon</key>
> <dict>
> <key>UINewsstandIcon</key>
> <dict>
> ...
> </dict>
> </dict>
> </dict>
> Info.plist expected:
> <key>CFBundleIcons</key>
> <dict>
> <key>CFBundlePrimaryIcon</key>
> <dict>
> <key>UINewsstandIcon</key>
> <dict>
> ...
> </dict>
> <key>CFBundleIconFiles</key>
> <array>
> ...
> </array>
> </dict>
> </dict>
> If this is not unexpected behaviour, then I'd make this issue a feature request: adding an option like "merge=true".
--
This message was sent by Atlassian JIRA
(v6.2#6252)