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

iOS: add target-device and MinimumOSVersion support to config.xml

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-ios, cordova-lib
    • None

    Description

      Discussed via mailing list as "iOS: add target-device and MinimumOSVersion support to config.xml"

      Phonegap build already supports[2] preferences below and we could make this a part of Cordova. I can implement this if we agree. Thoughts?

      #1 target-device
      For targeting a specific device; possible values are handset, tablet, or universal (default).
      Example:
      <preference name="target-device" value="universal" />

      #2 deployment-target
      This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which tranlsates to the MinimumOSVersion in the ipa Propertly List.
      Example:
      <preference name="deployment-target" value="7.0" />

      [2]http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#_ios_only

      Attachments

        Issue Links

          Activity

            People

              sgrebnov Sergey Grebnov
              sgrebnov Sergey Grebnov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: