Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10233

Support different config.xml file per CDVViewController instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Master
    • None
    • cordova-ios

    Description

      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.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            mirkoluchi@gmail.com Mirko Luchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: