[
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:08 AM:
-------------------------------------------------------------
I have this exact same issue.
This is from the generated cordova-build/plugins/ios.json file:
{code}
"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
}
],
{code}
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.
This is from the generated cordova-build/plugins/ios.json file:
{code}
"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
}
],
{code}
so the settings are getting here correctly, but the "mugning" that happens in
config_munge is only setting the first one. :(
> 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]