cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-9162) Plugin Variables should support a default value
Date Tue, 16 Jun 2015 20:05:01 GMT


ASF subversion and git services commented on CB-9162:

Commit e4e5904619bab05705d62bce92a4c4cd0d45bb82 in cordova-lib's branch refs/heads/master
from [~ogoguel]
[;h=e4e5904 ]

CB-9162 Adds support for default values for plugin variables.

This closes #247

> Plugin Variables should support a default value
> -----------------------------------------------
>                 Key: CB-9162
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Olivier Goguel
> When declaring a variable, it is possible to make it mandatory (by using the <preference>
tag), but there's no way to make it optional by defining a default value.
> For example: <preference value="ENABLE_LOG" default="true" />
> This would allow users to keep on customizing specific features of the plugins while
not having to worry about all the variables.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message