You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adriano Di Giovanni (JIRA)" <ji...@apache.org> on 2018/01/15 11:56:00 UTC

[jira] [Updated] (CB-13780) Should allow preferences having empty default

     [ https://issues.apache.org/jira/browse/CB-13780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adriano Di Giovanni updated CB-13780:
-------------------------------------
    Labels: framework plugin podspec  (was: )

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org