Error::Plugin not allowed in config.xml - Cordova/Phonegap


I am trying to create my first plugin in wp8, but I am getting this error


<em>Plugin not allowed in <strong>config.xml</strong>.</em>


What am I doing wrong?

In config.xml

<feature name="Echo"> <param name="wp-package" value="com.example.echo.plugins.Echo"/> </feature>

In echo.js

window.echo = function (str, callback) { cordova.exec(callback, function (err) { callback('Nothing to echo.'); }, "com.example.echo.plugins.Echo", "echo", [str]); };

In echo.cs

using WPCordovaClassLib.Cordova; using WPCordovaClassLib.Cordova.Commands; using WPCordovaClassLib.Cordova.JSON; namespace com.example.echo.plugins { class Echo : BaseCommand { public void echo(string options) { ...

<img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/zdN3T.png" data-original="https://i.stack.imgur.com/zdN3T.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />


In <strong>echo.js</strong>

only Class Name has to be called and not the full package. As below:

window.echo = function (str, callback) { cordova.exec(callback, function (err) { callback('Nothing to echo.'); }, "Echo", "echo", [str]); };


  • Canvas Image Animation (Crossfade)
  • How to use jQuery in content script in a Firefox Mobile (Fennec) extension?
  • java.lang.IllegalArgumentException in Date java
  • How to divide each pixel calculation of Mandelbrot into different nodes?
  • Google Maps v3 with MeteorJS loading sync issue
  • WordPress MysqlError: Unknown storage engine 'InnoDB' [duplicate]
  • gulp.watch running same task multiple times when saving many files
  • MAVEN : Run Multiple Maven Project using Maven Test
  • removing last 3 characters on a file (file extension)
  • TFS - how do I sum child task hours to parent
  • jquery validation - waiting for remote check to complete
  • Doctrine2 bulk import try to work with another entity
  • Passing “get” parameters doesn't work, parameter not visible in the link
  • Installing PHP 7 on digitalocean
  • where do I find the xml.dom python package for the python-2.6.0-8.9.28 and I have a suse/x86_64 vers
  • Spring boot 2.0.0.M4 required a bean named 'entityManagerFactory' that could not be found
  • Get specific string
  • Read text file that is not in the main package in a runnable jar
  • Roxygen error “Skipping invalid path”
  • How does this usort cmp function actually work?
  • Stop Bash Script if Hive Fails
  • Parse a date string in a specific locale (not timezone!)
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Declaring variable dynamically in VB.net
  • $wpdb not working in file of WordPress plugin
  • Submit form in a displaytag pagination
  • How to handle AllServersUnavailable Exception
  • Display Images one by one with next and previous functionality
  • Upload files with Ajax and Jquery
  • jQuery tmpl and DataLink beta
  • 0x202A in filename: Why?
  • Binding checkboxes to object values in AngularJs
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?