Tue, 13 Sep 2022 08:22:13 GMT
Join the conversation at slack.cordova.io
Mon, 12 Sep 2022 19:09:40 GMT
@norman137 says
Does anybody know the behaviour of the
<dependency>
plugin.xml directive if multiple plugins declare the same dependency?I need a dependency to be treated like a peer dependency, where there can be exactly one copy of the library installed. Does Cordova resolve the dependency by choosing a version, assuming there is a version available that satisfies the semver of each plugin's
<dependency>
directive?
Mon, 12 Sep 2022 23:10:47 GMT
@jcesarmobile says
They will probably conflict, as far as I know only one version of the plugin gets installed
Mon, 12 Sep 2022 23:40:19 GMT
@norman137 says
K, that‘s what I kinda thought. If that’s the case, I assume the first plugin that has the dependency, it will install the latest version that satisfies the specified semver, and then when it installs another plugin that declares the same version, it must check if the dependency is already installed and that the installed version satisfies it‘s specified semver... and if not, then it’s a conflict. At least I hope that‘s how it works. I guess I’ll test and confirm the behaviour tomorrow.
Mon, 12 Sep 2022 18:07:10 GMT
@dpogue says
iOS 16 has been released (but not iPadOS)