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

Support different config.xml file per CDVViewController instance

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: 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

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

              Dates

              • Created:
                Updated:
                Resolved: