I am using Ionic and Phonegap build service. I also use ionic run [android/ios] to test the app on the phone during development. I notice that the namespace xmlns is different for phonegap and cordova's config.xml file. Do I need to keep two separate config.xml files, one for phonegap in www/config.xml and another for cordova in root directory? Or is there away to consolidate to one config.xml file?
Ionic is a framework that works above the Cordova/PhoneGap framework [and others] and it has many namespace differences I'm sure you've already noticed like
ion-pane
instead of pane
just to name one of the many.
I feel this is done to make the developer feel like they are working within one framework instead of having to think about understanding angularJS bower, gulp, Cordova all as being different these different frameworks you'd have to deal with (although you are and it would help if you understood them separately) and this is just one of the subtle differences to the ionic workspace.
So no, you don't need to make another one, that is the Cordova config.xml working within the Ionic Framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With