Software Archive
Read-only legacy content
17060 Discussions

Trying to add a 3rd party local plugin but getting an error

Nick_F_2
New Contributor III
1,418 Views

I'm trying to add a 3rd party plugin. I have downloaded locally but get an error trying to load it.

The error is An unknown issue occurred during the plugin operation:{}

The plugin is in a folder called Flashlight-PhoneGap-Plugin-master in my plugins folder.

I'm using XDK 2496

Also try the Github versions using the URL and get this error

Plugin Version Not Found

https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git#nl.x-services.plugins.flashlight

https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git

0 Kudos
9 Replies
Gary_H_2
New Contributor I
1,418 Views

With the latest XDK you can put plugins you downloaded manually at the same level as www. When you tell XDK about them it copies them into the plugins folder itself.

0 Kudos
Nick_F_2
New Contributor III
1,418 Views

I have also tried downloading from the cordova plugin repository with nl.x-services.plugins.flashlight and XDK just sits there saying please be patient fetching your plugin, fetch plugin contents.

Its been downloading for 10 mins now and nothing.

0 Kudos
Gary_H_2
New Contributor I
1,418 Views

Yeah, did that for me on one of my plugins when I upgraded to this version of the XDK. After about 30 mins of being patient I wasn't and killed the XDK. On a restart it seemed to have loaded ok anyway although I got a few of those dialogs where you have to choose between project and directory versions of the plugins.

0 Kudos
Amrita_C_Intel
Employee
1,418 Views

Hello,

Did you try to add plugin locally after you downloaded?  

I tried to add this plugin through git repo option under third party plugin. Before building  I changed the Cordova CLI  version from 4.1.2 to 5.1.1. And it worked for me.

0 Kudos
Nick_F_2
New Contributor III
1,418 Views

Did the same as Gary H above, seems this version struggles to load plugins and a kill and restart seems the only way to sort out the problem when a dialog appears after the restart to choose between project and directory versions of the plugins.

0 Kudos
Rakshith_K_Intel
Employee
1,418 Views

@Nick which version of Cordova CLI are you using to build the app?  "Project settings - > Build settings"

I added this plugin with git URL and was able to build with CLI v 4.1.2, but failed with 5.1.1; I think this plugin is not compatible with CLI v 5.x maybe.

 

0 Kudos
Gary_H_2
New Contributor I
1,418 Views

My local plugins won't build anymore with CLI 5.1.1 so that's not an option for me.

0 Kudos
Gary_H_2
New Contributor I
1,418 Views

My plugins only build with CLI 4.1.2 and Crosswalk 12. Before CLI 3.5 went away they used to build with Crosswalk 14 but not anymore.

0 Kudos
PaulF_IntelCorp
Employee
1,418 Views

Please see this note, it might be consistent with your issue: https://software.intel.com/en-us/forums/intel-xdk/topic/594401

0 Kudos
Reply