ionic-team / legacy-ionic-cloud

JavaScript Client for legacy Ionic Cloud services. See Ionic Pro for our new take on the ionic development lifecycle
Apache License 2.0
65 stars 26 forks source link

Ionic Cloud ignores local Plugins #176

Open onymos-matt opened 7 years ago

onymos-matt commented 7 years ago

When a plugin is installed locally within the Ionic project, Ionic Packaging still looks for it at a GIT location than at the local file path.

Added the plugin using ionic plugin add command, like so.. ionic plugin add /path/to/custom-plugin-from-ionic-marketplace --save

I see the config.xml updated with the plugin name and the /path/to location. I also tried adding it to package.json with locator tags.

Despite all of these, Ionic packaging still looks for it in the Cloud.

Please add support for local path plugins to Ionic packaging.

imhoffd commented 7 years ago

Definitely something to consider, but there is no way to support local Cordova plugins in Ionic Package at this time.

A workaround could be creating a private repo for the plugin on Github and using the https url (with a Github personal access token in the url) when doing cordova plugin add https://... --save.