You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using together plugins that use pods, keys in Info.plist are not merged but overwritten.
It happens for example for plugins cordova-plugin-facebook4, cordova-plugin-googleplus and ionic-plugin-deeplinks. They all set CFBundleURLSchemes key in Info.plist. There should be contribution from each plugin but actually there is only one. Keys are not merged but overwritten.
I realized that this happens when <pods use-frameworks="true"> in plugin.xml is set. When set to false, keys are merged as expected.
Bug Report
When using together plugins that use pods, keys in Info.plist are not merged but overwritten.
It happens for example for plugins
cordova-plugin-facebook4
,cordova-plugin-googleplus
andionic-plugin-deeplinks
. They all setCFBundleURLSchemes
key in Info.plist. There should be contribution from each plugin but actually there is only one. Keys are not merged but overwritten.I realized that this happens when
<pods use-frameworks="true">
in plugin.xml is set. When set to false, keys are merged as expected.Problem
What is expected to happen?
Keys are merged like this:
What does actually happen?
There is only one key:
Information
Command or Code
Create blank cordova project, add plugins and check the result:
After investigation in order to isolate plugin related bug I created as small as possible project to reproduce the bug fast: https://github.com/inited/cordova-plist-merge-fail
Environment, Platform, Device
Version information
Mac OS workstation:
Checklist
The text was updated successfully, but these errors were encountered: