cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-9213) Cordova plugins modifying “*-Info.plist” CFBundleURLTypes
Date Tue, 09 Feb 2016 13:34:18 GMT

     [ https://issues.apache.org/jira/browse/CB-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Grebnov updated CB-9213:
-------------------------------
    Labels: cordova-lib ios plist plugins triaged  (was: cordova-lib ios plist plugins)

> 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, triaged
>
> ??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


Mime
View raw message