You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/19 17:10:12 UTC

[GitHub] [cordova] Domvel opened a new issue #156: (bug) Cordova does not change the config.xml or package.json on installing a plugin.

Domvel opened a new issue #156: (bug) Cordova does not change the config.xml or package.json on installing a plugin.
URL: https://github.com/apache/cordova/issues/156
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   ```text
   cordova plugin add cordova-plugin-inappbrowser --save
   Adding cordova-plugin-inappbrowser to package.json
   ```
   This should add a new plugin-tag to the config xml. And in the package.json to the `cordova` property. 
   
   ### What does actually happen?
   
   This is a lie. Neither the package.json nor the config.xml file has been changed.
   
   ## Information
   I just want to add some native plugins. And expected that all is managed automatically by Cordova. Now I have to edit it by hand. (and make mistakes.)
   
   ### Command or Code
   ```text
   cordova plugin add cordova-plugin-inappbrowser --save
   ```
   Also tried without `--save`.
   
   ### Environment, Platform, Device
   
   ```text
   Node.js: 10.11.0
   NPM 6.4.1
   OS: Windows_NT x64 10.0.18362
   Cordova 9.0.0
   ```
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org