You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/07/30 20:29:48 UTC

[jira] [Created] (CB-4453) Custom Plugin namespace not supported for Windows Phone

Benn Mapes created CB-4453:
------------------------------

             Summary: Custom Plugin namespace not supported for Windows Phone
                 Key: CB-4453
                 URL: https://issues.apache.org/jira/browse/CB-4453
             Project: Apache Cordova
          Issue Type: Improvement
          Components: WP8
         Environment: Windows
            Reporter: Benn Mapes
            Assignee: Jesse MacFadyen
            Priority: Minor


Plugins contained within a custom namespaces are not properly loaded into the cordova core. Currently plugins need to use Cordova.Extension.Commands or the namespace used by the core plugins (WPCordovaClassLib.Cordova.Commands).

With the addition of a custom namespace, plugins would then need to define that namespace in the plugin.xml under the config file like so :
{code}
<config-file target="config.xml" parent="/*">
    <feature name="PluginName">
        <param name="wp-package" value="my.custom.namespace.PluginName"/>       
    </feature>
</config-file>
{code}
which is different from the current way of just providing the name : 
{code}
<config-file target="config.xml" parent="/*">
    <feature name="PluginName">
        <param name="wp-package" value="PluginName"/>       
    </feature>
</config-file>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira