zwwcn

Just another WordPress.com site

Cordova not loading plugin js file

I installed signature plugin under cordova,but when testing it’s not loading the js file. Checking the cordova_plugins.js, the signature module is missing in the module.exports list. To fix the problem, you need to edit the plugin.xml file under plugins/nl.codeyellow.signature and add the jsmodule:

<js-module src=”www/signature-view.js” name=”Signature”>

<clobbers target=”nl.codeyellow.signature”/>

</js-module>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: