When do we need to save a plugin in config.xml?
Normally we use cordova plugin add <plugin-name>
to add and save the plugin into our package.json
The Cordova documentation says that those plugins into config.xml
will be restored during a prepare.
What does this mean? Can we just set plugins in one place? Is there any problem having plugins only in package.json?
Also I checked previous answers but it's still confusing me.
Thank you so much for your time : ) Note: I'm using Cordova 9.0.0