apache / cordova-paramedic

Apache Cordova - Paramedic
https://cordova.apache.org/
Apache License 2.0
36 stars 53 forks source link

Add a new option deploymentIosTarget (ios) #192

Open didix21 opened 5 years ago

didix21 commented 5 years ago

If is set ios platform and deploymentIosTarget is going to add the following field <preference name="deployment-target" value="${deploymentIosTarget}" />on the config.xml.

Use case

The main porpuse of this new feature is for those plugins that have been developed in Swift and any of their dependencies needs a minimum iOS version configured in the config.xml file.

Checklist

janpio commented 5 years ago

Thanks for this PR.

Can you elaborate on the use case a bit maybe? What kind of plugins need this? Example?

didix21 commented 5 years ago

Thanks for this PR.

Can you elaborate on the use case a bit maybe? What kind of plugins need this? Example?

I can't share a concrete example but I'm developing a plugin for my company and this feature is required. I think it can be useful for future plugins developed with swift and need a minimum version of iOS.