Page 1 of 1

How to easily add plugin

Posted: Thu Jan 07, 2016 8:48 pm
by Miguel Navarro7469744

I've looked at the tutorial following the instructions:

https://devcenter.appery.io/documenta...

I've got a JQM project and I don't see anything on how to add the plugin which I've successfully added to my resources to the JQM Project.

When I open it in the builder no Cordova Plugin settings are there?

What am I missing?


How to easily add plugin

Posted: Thu Jan 07, 2016 8:56 pm
by Miguel Navarro7469744

Ok. I figured out. I have to change the libraries in the external resources tab in app settings.


How to easily add plugin

Posted: Thu Jan 07, 2016 9:19 pm
by Miguel Navarro7469744

Ok... so now how would I call it... this is what the author of the plugin is showing:

var Signature = cordova.require('nl.codeyellow.signature.Signature');

But this doesn't work.

The name of the plugin in the window is:

Signature view plugin


How to easily add plugin

Posted: Thu Jan 07, 2016 9:49 pm
by Evgene Karachevtsev

Hello Miguel,

Unfortunately plugins are outside the scope of our support.
Please try to debug your project https://devcenter.appery.io/documenta...


How to easily add plugin

Posted: Thu Jan 07, 2016 10:01 pm
by Miguel Navarro7469744

I am a paying customer and this is a simple question.... Now that the plugin has been installed successfully what is the syntax for calling it.

window.plugins for example

does cordova.require work


How to easily add plugin

Posted: Fri Jan 08, 2016 5:24 am
by Miguel Navarro7469744

Guys I would like some response on how do I troubleshoot this. You guys provide a new way to import plugins but then you say it's outside of support? If I can see the plugin is installed and enabled, how can I get to the plugin from code. That is all I'm asking.


How to easily add plugin

Posted: Fri Jan 08, 2016 12:24 pm
by Serhii Kulibaba

Hello Miguel,

Please clarify, what version of libraries do you use? Please be sure it is 3.0 before adding a plugin


How to easily add plugin

Posted: Fri Jan 08, 2016 12:31 pm
by Miguel Navarro7469744

Yes. I'm using 3.0. Here's the plugin I'm using. I have it enabled in the app. Now how do I call it from javascript. This is the example that they use:

https://github.com/netinhoteixeira/co...

var Signature = cordova.require('nl.codeyellow.signature.Signature');

Am I missing a step somewhere or do I have to manually configure something?


How to easily add plugin

Posted: Fri Jan 08, 2016 9:03 pm
by Miguel Navarro7469744

Hopefully somebody can help here as this is becoming frustrating and I am a paying customer:

Plugin is visible and enabled within the app builder.

This is the plugin library/class nl.codeyellow.signature

When I compile it as an APK

and try to use:

cordova.require('nl.codeyellow.signature.Signature');

It says that nl.codeyellow.signature module not found.

It's like the library is not being compiled in when it's being built as an APK.

Also because now the source for the plugins is obscurred now I can't tell if it's being added or not.


How to easily add plugin

Posted: Mon Jan 11, 2016 9:36 pm
by Illya Stepanov

Hi Miguel -

This plugin was created by a 3rd party thus possibly it won't work well. There is no simple way to test this before doing the actual build. You can try to find a different plugin. You can build a custom plugin.

Or our services team can also help you with a custom plugin.