Sviatoslav Grebenchucov created CB-9354:
-------------------------------------------
Summary: Incorrect array munging in *-Info.plist
Key: CB-9354
URL: https://issues.apache.org/jira/browse/CB-9354
Project: Apache Cordova
Issue Type: Bug
Components: CLI, CordovaLib
Affects Versions: 5.1.1
Environment: Mac OS X Yosemity
Reporter: Sviatoslav Grebenchucov
After installing
[phonegap-facebook-plugin|https://github.com/Wizcorp/phonegap-facebook-plugin.git]
each consequent run of 'cordova prepare' results in creating a duplicate of
the dictionary containing Facebook custom url scheme.
After plugin installation App-Info.plist looks like:
{code:xml}
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb123456789</string>
</array>
</dict>
</array>
{code}
After 'cordova prepare':
{code:xml}
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb123456789</string>
</array>
</dict>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb123456789</string>
</array>
</dict>
</array>
{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]