Ionic-cli: New plugins not showing in config.xml

Created on 18 May 2019  路  5Comments  路  Source: ionic-team/ionic-cli

Description:
New plugins not showing in config.xml

Steps to Reproduce:
ionic cordova plugin add cordova-plugin-file --save
Doesn't show up in config.xml but shows in package.json

ionic cli: 4.12.0
cordova: 9.0.0 ([email protected])

triage

Most helpful comment

This is a change in Cordova CLI: https://github.com/apache/cordova-lib/pull/750

They are moving away from using config.xml for managing platforms and plugins.

All 5 comments

This is a change in Cordova CLI: https://github.com/apache/cordova-lib/pull/750

They are moving away from using config.xml for managing platforms and plugins.

@dwieeb does this mean we can eliminate a config.xml?

@tmk1991 No, it's still used for many other things. They just wanted to put the package management stuff in package.json with the rest of it. (AFAIK).

Does this mean I can remove all plugin tags from the config.xml and only manage it in the cordova property in package.json?

I believe so, with Cordova 9.

Was this page helpful?
0 / 5 - 0 ratings