[
https://issues.apache.org/jira/browse/CB-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316876#comment-14316876
]
Shazron Abdullah commented on CB-8007:
--------------------------------------
[~miqmago] What is your expected behavior here? The last added plugin has its
change stick, correct? I think what's happening is, the CLI ignores the change
if there is already a node there in the xml.
> Two cordova plugins modifying “*-Info.plist” CFBundleURLTypes
> -------------------------------------------------------------
>
> Key: CB-8007
> URL: https://issues.apache.org/jira/browse/CB-8007
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, CordovaLib
> Affects Versions: 3.5.0
> Reporter: Miquel
> Labels: cordova-lib, ios, plist, plugins
>
> When 2 cordova plugins are modifying the same property, only the first added
> plugin is getting the changes applied:
> I.e.:
> https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin.git
> https://github.com/Wizcorp/phonegap-facebook-plugin
> The first one:
> {code:xml}
> <config-file target="*-Info.plist" parent="CFBundleURLTypes">
> <array>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>$URL_SCHEME</string>
> </array>
> </dict>
> </array>
> </config-file>
> {code}
> The second one:
> {code:xml}
> <config-file target="*-Info.plist" parent="CFBundleURLTypes">
> <array>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>fb$APP_ID</string>
> </array>
> </dict>
> </array>
> </config-file>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]