Should I edit package.json or config.xml?


<widget id="io.ionic.starter" version="0.0.1" xmlns="" xmlns:cdv="">
    <author email="contact" href="">Site</author>
    <content src="index.html" />


"name": "Name",
    "version": "1.0.0",
    "author": "Ionic",
    "homepage": "",

I was thinking to update both ?

Yes. One is for your “package” of the app, the other is the base for the generated apps via Cordova. Different jobs.

1 Like

What is the recommended procedure to be sure that the correct versions for cordova plugins are installed when using Ionic 3, should the versions be fixed in package.json or in config.xml? Do the config files automatically sync (and which way) when installing the platform? And what is the purpose of having both config files?