You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jordan Alperin (JIRA)" <ji...@apache.org> on 2015/05/01 02:04:58 UTC
[jira] [Comment Edited] (CB-8007) Two cordova plugins modifying “*-Info.plist” CFBundleURLTypes
[ https://issues.apache.org/jira/browse/CB-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522420#comment-14522420 ]
Jordan Alperin edited comment on CB-8007 at 5/1/15 12:03 AM:
-------------------------------------------------------------
I have this exact same issue.
This is from the generated cordova-build/plugins/ios.json file:
```
"CFBundleURLTypes": [
{
"xml": "<array><dict><key>CFBundleURLSchemes</key><array><string>fbXXXXXXXXXXX</string></array></dict></array>",
"count": 1
},
{
"xml": "<array><dict><key>CFBundleURLSchemes</key><array><string>bolt</string></array></dict></array>",
"count": 1
}
],
```
so the settings are getting here correctly, but the "mugning" that happens in config_munge is only setting the first one. :(
was (Author: alpjor):
I have this exact same issue.
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org