CDVViewController strongly assumes that cordova configuration is in a config.xml file in the application's main bundle.
This approach has several drawbacks:
- each instance of CDVViewController have a single shared configuration file (which is not always desireable)
- configuration file cannot be placed in custom locations (e.g. a bundle of a library containing a reusable subclass of CDVViewController loading a custom HTML page).
Cordova setting file path should be configurable through a property on the CDVViewController class, and settings loading should be delayed in the viewDidLoad method.