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 EA28A1727D for ; Wed, 15 Apr 2015 18:15:04 +0000 (UTC) Received: (qmail 9086 invoked by uid 500); 15 Apr 2015 18:15:04 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 9053 invoked by uid 500); 15 Apr 2015 18:15:04 -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 9037 invoked by uid 99); 15 Apr 2015 18:15:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 18:15:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of iclelland@google.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-vn0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 18:15:00 +0000 Received: by vnbf190 with SMTP id f190so18299174vnb.1 for ; Wed, 15 Apr 2015 11:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ERPadfOXbF/yoiGSF/asmYKYX0EZk2JEFnNRTWEimfI=; b=jb8ZdwlTwQNRbSH2x6cpQDH2nFj93uu26XADIFDUVlWcca8f40ETYXnacBhAgGJRkM 5wE4qdByYmXt4v+p5gIzN4Nd0186rY5JOspbaAx5DS1P1M+Y6C2f0V0DLMsn6UMzuINB r5f1gjPZTGmr+PJ/Pk1Dvs4xSUfB8wzU0EHPmrQK7QgYh03qH717+ewp1lfR7/rOxDz5 LYKIti/9lo6yWmAXqOhinXHzuQ6FpxSoy6CUZk8s58Nesuq5RPgM7dy3Wout/MKhS7WG 7chTG+0K9fO/nsVufDzqtGLMAf2D2f7yJxDKMEM3vmCVBcsQ/sBlW/QCTZQqv2UU07EZ T9RQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ERPadfOXbF/yoiGSF/asmYKYX0EZk2JEFnNRTWEimfI=; b=NSirbfuhJCAGg7LL6x1XpVics7ns0NfkhWKMddALXgPbOs54xWZ16x9yQipCvFIoc0 +aLBaNAnUshFmqIx4kZdSEpkokGyNRHBJigeE4j/Az4AIW9Z4kFicBWoOG+qo9JaVsvy pLsZWbaRv9Tq5HHTXCbhQg1B+6n3owoN6uErg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=ERPadfOXbF/yoiGSF/asmYKYX0EZk2JEFnNRTWEimfI=; b=mlKrTZnqZ2oLDZYHoOi1DvJ6t+L9MnYZq/UT6dS6iiprDfp/MuM7/S847wOz0Q/9X5 mGlquo3u/e4MrI9y74wMc4CCLRkEuWj6UHHXlcLJR5RHzrsTrtoT8pNu/fn+LwzGoNZa if8PxiIFmL/qQb7pCOX82OeCI8l3nL0M7xWZr60y3fis/SM13k4al01AzxgJDLkF//L2 kESLcpMI3pn4atYPvEWX2kaWxy+065p1+TAWtBzuAeI97df3ZmXicWG0KJ9ucBWTmORz Rp4t1wmhFuthZMIB5iDhrAZYtBBMQssptVall9L/NaNZAHKSWvS/e+6BhytpuUGVTa/d s21g== X-Gm-Message-State: ALoCoQn4tLfBusut+CYjYLMP2d0SM9gpobQmRQb0GMYmexUyZEPjNXMd5GliMUsLVZGKfJZoCE1R X-Received: by 10.52.75.99 with SMTP id b3mr33440143vdw.2.1429121679465; Wed, 15 Apr 2015 11:14:39 -0700 (PDT) MIME-Version: 1.0 Sender: iclelland@google.com Received: by 10.52.74.137 with HTTP; Wed, 15 Apr 2015 11:14:19 -0700 (PDT) In-Reply-To: <85A3E123BABF314D9D3656D0B4181256448F7931@FMSMSX103.amr.corp.intel.com> References: <85A3E123BABF314D9D3656D0B4181256448F7904@FMSMSX103.amr.corp.intel.com> <85A3E123BABF314D9D3656D0B4181256448F7931@FMSMSX103.amr.corp.intel.com> From: Ian Clelland Date: Wed, 15 Apr 2015 14:14:19 -0400 X-Google-Sender-Auth: -aRi8nyLym3cjUpgiPX3CncxTEU Message-ID: Subject: Re: Android 4.0 Blog Post To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=bcaec501604b0bc62c0513c7527c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501604b0bc62c0513c7527c Content-Type: text/plain; charset=UTF-8 On Wed, Apr 15, 2015 at 1:47 PM, Treggiari, Leo wrote: > If anyone has the time to educate me, then please pardon my ignorance. > > Then you're suggesting that if I'm writing a cross-platform app, I stick > with > the legacy whitelist plugin until all of the platforms I care about support > new whitelisting? Or they already do support the new whitelisting? > Most platforms *do not* support the new whitelisting. As of right now, it's Android 4.0.0, and iOS (4.0.x development branch). If you're building a cross-platform app, there are a couple of options, but they all come down to the fact that you need to use the old syntax for any platforms other than Android. 1. Install the legacy plugin, and use the same syntax for everything (easiest) 2. Install the new whitelist plugin, and have separate config.xml files for each platform. This may or may not be feasible, depending on your build system. You'll probably have to swap the config file out between builds of different platforms (I can't remember off-hand if there's any syntax in config.xml to have platform-dependent sections, but that would make this easier.) 3. Install the new whitelist plugin, and use *both* syntaxes in config.xml. The new plugin uses tags for network requests, but not for navigation, so you'd have to include tags as well, if you have more than a single-page-app. You can include both kinds of tags, though, and the platforms will happily just pick out the ones they understand. > Thanks, > Leo > > -----Original Message----- > From: Joe Bowser [mailto:bowserj@gmail.com] > Sent: Wednesday, April 15, 2015 10:42 AM > To: dev@cordova.apache.org > Subject: Re: Android 4.0 Blog Post > > Isn't this why the Legacy Whitelist plugin exists? > > On Wed, Apr 15, 2015 at 10:40 AM Treggiari, Leo > wrote: > > > I have a question. With the new whitelist support in Android, does that > > mean if I'm writing a cross-platform app, do I need to deal with > > whitelisting differently in Android and other platforms (at least until > the > > other platforms 'catch up')? If not, thanks. If so, what would be the > > best way to handle the differences - perhaps using the merges > functionality? > > > > Thanks, > > Leo > > > > -----Original Message----- > > From: agrieve@google.com [mailto:agrieve@google.com] On Behalf Of Andrew > > Grieve > > Sent: Wednesday, April 15, 2015 10:18 AM > > To: dev > > Subject: Android 4.0 Blog Post > > > > The 4.0 release is posted to npm, and I've updated the blog post to work > > without the need for a tools release: > > > > I'd like to publish the blog post without waiting for a CLI release: > > - I've updated the post to use plugins-from-git so it works without new > CLI > > - I've mentioned those can just wait for tools if they like > > - This should give us some early adopter feedback in case there's a need > > for a 4.0.1 > > > > > > > https://github.com/cordova/apache-blog-posts/blob/master/2015-04-10-cordova-android-4.0.0.md > > > > Any objections? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > For additional commands, e-mail: dev-help@cordova.apache.org > > > --bcaec501604b0bc62c0513c7527c--