We want to install the com.blackberry.app plugin (http://plugins.cordova.io/#/package/com.blackberry.app) for our (cordova 3.4.0 CLI) project. IF I try "cordova plugin add com.blackberry.app", it is installing plugin for both android and blackberry10 platforms. Due to this, the android app crashes. I tried installing only this plugin for blackberry10 platform thru plugman, but the functionality doesn't work [although plugman says it successfully installed]
Is there a way in CLI to install a plugin for ONE platform only?
Thanks
'cordova platform update /path/to/android/platform --save' => In addition to updating the android platform to version in the folder, update config. xml entry. 'cordova platform remove android --save' => Removes the android platform from the project and deletes its entry from config. xml.
When adding plugins or platforms, use the --save flag to add them to config. xml. Ex: cordova platform add android --save. Existing projects can use cordova plugin save and cordova platform save commands to save all previously installed plugins and platforms into your project's config.
I've found that the only clean way to make it work is to modify 3 things:
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