How can I add the remote (git) plugin to the cordova/phonegap project, created with Visual Studio phonegap template?
I can't just change current directory to the VS project in CLI via cd
and call add plugin ...
, because it fails with "project directory could not be found"
.
Thank you.
Add Plugin Features The cordova plugin add command requires you to specify the repository for the plugin code. Please note that when you follow the Web Project Dev workflow and use the CLI, the CLI will take care of adding the plugin code to the appropriate place for each platform.
Select Add new app from the menu. Enter a name for your application project, adding an optional description as needed. Select the appropriate OS for your application project (Android or iOS only), then select the Cordova platform option. Click the Add new app button on the bottom-right corner of the page.
You can add plugin through Visual Studio also, following are steps to add custom plugin
Refer Manage Plugins for Your Multi-Device Hybrid App document for more detail on adding plugin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With