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

Updating config values in plugin.xml does not trigger plist to be regenerated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • None
    • ios

    Description

      I have a plugin with the following in the plugin.xml:

      <config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
      <array>
      <string>com.idblue.r8</string>
      </array>
      </config-file>

      After I install the plugin, then run `cordova build`, I am unfortunately effected by these existing cordova cli issues:

      https://issues.apache.org/jira/browse/CB-4731
      https://issues.apache.org/jira/browse/CB-5262

      Putting those issues aside, I have noticed another issue. If I change the value of "com.idblue.r8" to "com.idblue.r9", then re-install the plugin, then rebuild the project, the plist file is not updated.

      Neither the value "com.idblue.r8" is updated, nor are the bugs in CB-4731 and CB-5262 triggered.

      It's as if by changing the config section in plugin.xml, it somehow causes some issue where the plist won't then be regenerated.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asgeo1 Adam George
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: