Software Archive
Read-only legacy content
17061 Discussions

Get plugins from the web via npmjs

SithLord
New Contributor I
334 Views

 

In xdk, i would either get my plugins from the registry via cordova.io or specify a repo to get a specific version ex:https://github.com/apache/cordova-plugin-camera.git#r1.2.0

The registry posted a notice saying "Plugins Registry is moving to npm"

How do i pull a plugin into xdk from this new location ex: https://www.npmjs.com/package/cordova-plugin-camera

 

0 Kudos
1 Solution
Rakshith_K_Intel
Employee
334 Views

The current version of XDK does not support Cordova 5.x, so you cannot use npm registry or plugins updated to Cordova 5. We will have support for Cordova 5 soon, until then you have to use plugin git repo, you may have to use a specific version of plugin that is not updated Cordova 5 

View solution in original post

0 Kudos
1 Reply
Rakshith_K_Intel
Employee
335 Views

The current version of XDK does not support Cordova 5.x, so you cannot use npm registry or plugins updated to Cordova 5. We will have support for Cordova 5 soon, until then you have to use plugin git repo, you may have to use a specific version of plugin that is not updated Cordova 5 

0 Kudos
Reply