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

Config.xml should support PList modifications similar to plugin-xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • None
    • cordova-cli
    • None

    Description

      Currently modifying the .plist file is only supported from the Plugin XML file. For generic plug-ins such as Media, Notification, Geolocation there is sometimes a need to modify the plist file, for example to enable UIBackgroundModes for audio and location. This however shouldn't be the default behavior, since often these aren't used in background mode.

      However, if they are used in background mode you must manually add these to the plist file which is cumbersome. It would be extremely useful if these could be included in the config.xml file, so if the project requires to modify the plist file it will be taken care of by the CLI.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpeacock David Peacock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: