You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shai Schechter (JIRA)" <ji...@apache.org> on 2014/06/20 13:33:25 UTC
[jira] [Updated] (CB-6993) Official and third-party plugins not
installing correctly
[ https://issues.apache.org/jira/browse/CB-6993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Schechter updated CB-6993:
-------------------------------
Description:
Most plugins I have come across (including, as one example, the official Dialogs plugin) include the line:
{code}
<config-file target="res/xml/config.xml" parent="/*">
{code}
in their *plugin.xml*.
However, according to your plugin docs, the line should read:
{code}
<config-file target="config.xml" parent="/*">
{code}
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 just say "config.xml", 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.
was:
Most plugins I have come across (including, as one example, the official Dialogs plugin) include the line:
{code}
<config-file target="res/xml/config.xml" parent="/*">
{code}
However, according to your plugin docs, the line should read:
{code}
<config-file target="config.xml" parent="/*">
{code}
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 just say "config.xml", 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.
> Official and third-party plugins not installing correctly
> ---------------------------------------------------------
>
> Key: CB-6993
> URL: https://issues.apache.org/jira/browse/CB-6993
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Dialogs, Plugins
> Affects Versions: 3.4.0
> Reporter: Shai Schechter
> Labels: config.xml, cordova-cli, plugins
>
> Most plugins I have come across (including, as one example, the official Dialogs plugin) include the line:
> {code}
> <config-file target="res/xml/config.xml" parent="/*">
> {code}
> in their *plugin.xml*.
> However, according to your plugin docs, the line should read:
> {code}
> <config-file target="config.xml" parent="/*">
> {code}
> 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 just say "config.xml", 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)