GitHub user erisu added a comment to the discussion: Plugin: Set minimum iOS
deployment target
You would wrap it with the `config-file` element, targeting `config.xml`.
This injects it into the built `config.xml` file located in the iOS platform
directory.
However, this sets the target for the entire application, not just a single
plugin.
Also, anything written in the user's app `config.xml` will likely override
plugin settings, so setting it in `plugin.xml` doesn’t guarantee it will be
applied.
```xml
<platform name="ios">
<config-file target="config.xml" parent="/*">
<preference name="deployment-target" value="13.0" />
</config-file>
</platform>
```
GitHub link:
https://github.com/apache/cordova/discussions/529#discussioncomment-12598368
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]