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

Official and third-party plugins not installing correctly

    XMLWordPrintableJSON

Details

    Description

      Most plugins I have come across (including, as one example, the official Dialogs plugin) include the line:

      <config-file target="res/xml/config.xml" parent="/*">
      

      in their plugin.xml.

      However, according to your plugin docs, the line should read:

      <config-file target="config.xml" parent="/*">
      

      I don't know if it's something wrong with my setup or what, but the latter is the only one that works for me. Any plugins using the former (res/xml/config.xml) do not have the corresponding feature tag added to any XML fileĀ - meaning the official plugins aren't working for me. Whereas, if I change it to the latter format, the feature tag is correctly copied into res/xml/config.xml when I run cordova build.

      Is this correct behaviour and the official plugins need updating? Or am I doing something wrong, and either syntax should work?

      Thanks very much.

      UPDATE: I am also pretty sure that the former syntax was working previously, on the same version (3.4.0-0.1.0) that I am using now. Which leads me to believe something must have changed on my end, although I have no idea what. Any ideas??

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shai126 Shai Schechter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: