Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3696711866 for ; Tue, 8 Jul 2014 17:06:54 +0000 (UTC) Received: (qmail 98923 invoked by uid 500); 8 Jul 2014 17:06:53 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 98885 invoked by uid 500); 8 Jul 2014 17:06:53 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 98859 invoked by uid 99); 8 Jul 2014 17:06:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 17:06:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shazron@gmail.com designates 209.85.192.47 as permitted sender) Received: from [209.85.192.47] (HELO mail-qg0-f47.google.com) (209.85.192.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 17:06:47 +0000 Received: by mail-qg0-f47.google.com with SMTP id q108so5341733qgd.34 for ; Tue, 08 Jul 2014 10:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=f8TFwjdGsrYkEuHG161oaDkgTNU3gNJkQHgmhJt4ra4=; b=t6tn1E+V6O4Mpue8k7605YjVQ/60By1vXPXQ7X1DnRD7PMdiHGEPQrsEcd501znYBN FOnUAxVfvAUf3VN3RUu/QeGO3XyRopQwNRDipUBTW3XaGdZSwY0Gkd1xajMX15oOvw9g p7THN4zAWXca9kTYEEFNq2/zqZ37XRye/QUxr//m0AIfzhc1FibMx5PENzAfo0hjTedS PLoBKJibvgkXMcwV6Afi6hoyICRXr4JvDvpEI9fpDccuunDMViMbk5yNc2GHHEEElz9P WGkzs03EIRDHFcWXYSfgmApPnwSdiHoUa5w38haK59LD043j9hYcqF+EAQqhyjSbz7wp TbOg== X-Received: by 10.224.167.70 with SMTP id p6mr61488219qay.79.1404839181893; Tue, 08 Jul 2014 10:06:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.92.213 with HTTP; Tue, 8 Jul 2014 10:05:40 -0700 (PDT) In-Reply-To: <77bb49c8a7d348d6ac523530c280444f@DM2PR03MB366.namprd03.prod.outlook.com> References: <9c773961e84e4477802fcde55dc55fa5@BL2PR03MB417.namprd03.prod.outlook.com> <77bb49c8a7d348d6ac523530c280444f@DM2PR03MB366.namprd03.prod.outlook.com> From: Shazron Date: Tue, 8 Jul 2014 10:05:40 -0700 Message-ID: Subject: Re: iOS: add target-device and MinimumOSVersion support to config.xml To: "dev@cordova.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure how PG Build does it, but I can find out and see if they can contribute. Having this baked in to Cordova is definitely in their interests. On Tue, Jul 8, 2014 at 9:58 AM, Parashuram Narasimhan (MS OPEN TECH) wrote: > Also, given that Phonegap build does this, should we keep this such that = it works for people using Phonegap build also ? > > -----Original Message----- > From: Sergey Grebnov (Akvelon) [mailto:v-segreb@microsoft.com] > Sent: Tuesday, July 8, 2014 9:54 AM > To: dev@cordova.apache.org > Subject: RE: iOS: add target-device and MinimumOSVersion support to confi= g.xml > > I agree as well, but I still don't see any better way to specify those th= ings. Looks like we could change the role of config.xml extending it beyond= runtime preferences or we need another/better place. Another potential dr= awback of using config.xml is security risks since this file is distribute= d as-is along with the app binaries. But I also see how it is easy to use = and does not require new knowledge (no need for new settings files). Though= ts? New thread to discuss this? - since I see there could be many new simil= ar settings in the future and we need a way to define them > > As an idea we can introduce new settings in config.xml which will= be automatically removed during build so not available in runtime. > > Thx! > Sergey > -----Original Message----- > From: agrieve@google.com [mailto:agrieve@google.com] On Behalf Of Andrew = Grieve > Sent: Tuesday, July 8, 2014 5:45 PM > To: dev > Subject: Re: iOS: add target-device and MinimumOSVersion support to confi= g.xml > > Agree with this. These are in the same vein as app icons, where they go i= n the "CLI" config.xml, not the "runtime" config.xml. > > > On Mon, Jul 7, 2014 at 8:26 PM, Shazron wrote: > >> Not sure how these prefs are going to work. Usually prefs are for >> runtime preferences, while these are really build time preferences and >> probably the domain of the CLI since they modify the Info.plist and >> .pbxproj files. >> >> On Mon, Jul 7, 2014 at 6:34 AM, tommy-carlos williams >> wrote: >> > +1 >> > >> > On 7 July 2014 at 23:29:46, Andrew Grieve (agrieve@chromium.org) wrote= : >> > >> > +1 >> > >> > >> > On Mon, Jul 7, 2014 at 8:39 AM, Sergey Grebnov (Akvelon) < >> > v-segreb@microsoft.com> wrote: >> > >> >> Phonegap build already supports[2] preferences below and we could >> >> make this a part of Cordova. I can implement this if we agree. Though= ts? >> >> >> >> #1 target-device >> >> For targeting a specific device; possible values are handset, >> >> tablet, or universal (default). >> >> Example: >> >> >> >> >> >> #2 deployment-target >> >> This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which >> >> tranlsates >> to >> >> the MinimumOSVersion in the ipa Propertly List. >> >> Example: >> >> >> >> >> >> [2] >> >> >> http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#_ >> ios_only >> >> >> >> Thx! >> >> Sergey >> >> >> > >>