Search code examples
xmlcordovaionic-frameworkionic3

Ionic 3 Project does not have config.xml


I was trying to follow this tutorial: https://www.youtube.com/watch?v=SOOjamH1bAA. But I couldn't even begin, because from what it looks like, my project does not have a config.xml file and I tried looking up the documentation online, and it says nothing about it, I also tried searching how to generate it, didn't find anything, why am I missing this config.xml? how to generate this file? Here's a link to display where its supposed to be, and it's not there:

enter image description here

heres the ionic info output:

Ionic: ionic (Ionic CLI) : 4.1.1 (C:\Users\Publio\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.11 System: NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe) npm : 6.3.0 OS : Windows 10

Solution

  • From ionic cli v4, you need to set cordova to your ionic app if you are creating an ionic cordova application. config.xml is used by cordova platform.

    You can enable the integration after creating the app as well according to documentation.

    ionic integrations enable cordova