[ 
https://issues.apache.org/jira/browse/CB-13780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327062#comment-16327062
 ] 

jcesarmobile commented on CB-13780:
-----------------------------------

You can set default to the version where you tested it for the last time and 
allow the variable so users can set it to another version, or latest if they 
use the empty ""
Empty preference works fine, what doesn't work is empty default.

> Should allow preferences having empty default
> ---------------------------------------------
>
>                 Key: CB-13780
>                 URL: https://issues.apache.org/jira/browse/CB-13780
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-lib
>            Reporter: Adriano Di Giovanni
>            Priority: Trivial
>              Labels: framework, plugin, podspec
>
> Please,
> consider the following snippet from plugin.xml
> {code:java}
> <platform name="ios"><preference name="VERSION" default="" /><framework 
> src="Google-Mobile-Ads-SDK" type="podspec" spec="$VERSION" /></platform>
> {code}
> It would be useful if preferences having an empty default are considered 
> valid instead of missing.
> This new behavior lets you use a preference to specify a podspec version and 
> if the preference has empty default, it means the latest version should be 
> installed.
> Today, there is no other way to do it unless CocoaPods changes podfile to let 
> you specify something like +, * or latest to install the latest version of a 
> podspec (instead of omitting the version at all).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to