You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2016/02/09 14:33:18 UTC
[jira] [Updated] (CB-9213) Cordova plugins modifying “*-Info.plist” CFBundleURLTypes
[ https://issues.apache.org/jira/browse/CB-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Grebnov updated CB-9213:
-------------------------------
Component/s: (was: CordovaLib)
(was: CLI)
iOS
> Cordova plugins modifying “*-Info.plist” CFBundleURLTypes
> ---------------------------------------------------------
>
> Key: CB-9213
> URL: https://issues.apache.org/jira/browse/CB-9213
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 5.1.2
> Environment: OSX
> Reporter: Aivars Akots
> Labels: cordova-lib, ios, plist, plugins
>
> ??The issues is found in version 5.1.1, but for some reasons I can not specify this version submitting this issue.??
> When cordova plugin is modifying the property CFBundleURLTypes, duplicate entries are added each time cordova build ios is run.
> I.e.:
> https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin.git
> https://github.com/Wizcorp/phonegap-facebook-plugin
> in launch my app plugin.xml
> {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}
> in facebook plugin.xml
> {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}
> after first build (or platform add) in file *-Info.plist
> {code:xml}
> <array>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>fbXXXXX</string>
> </array>
> </dict>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>mycoolapp</string>
> </array>
> </dict>
> </array>
> {code}
> after second build (or platform add) in file *-Info.plist
> {code:xml}
> <array>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>fbXXXXX</string>
> </array>
> </dict>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>mycoolapp</string>
> </array>
> </dict>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>fbXXXXX</string>
> </array>
> </dict>
> <dict>
> <key>CFBundleURLSchemes</key>
> <array>
> <string>mycoolapp</string>
> </array>
> </dict>
> </array>
> {code}
> duplicate values are added each time after build
--
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