cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriano Di Giovanni (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-13780) Should allow preferences having empty default
Date Mon, 15 Jan 2018 11:56:00 GMT

     [ 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


Mime
View raw message