Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9162

Plugin Variables should support a default value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ogoguel Olivier Goguel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: