Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB5629CF1 for ; Wed, 9 May 2012 00:15:42 +0000 (UTC) Received: (qmail 44646 invoked by uid 500); 9 May 2012 00:15:42 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 44626 invoked by uid 500); 9 May 2012 00:15:42 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 44617 invoked by uid 99); 9 May 2012 00:15:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 00:15:42 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.macdonald@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 00:15:36 +0000 Received: by dalh21 with SMTP id h21so8581202dal.6 for ; Tue, 08 May 2012 17:15:15 -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; bh=v94Qt9fejjFeRbJVR0odef1q/QP8mWVw/lat69hVWnE=; b=Ek6A9GGWAA2844FTdLuoBPhho1nKAJZRAa/zTwd1njIbQ7PAse3ufvHu2pNmuEyn6S wGFIAhhiKxAjOp1eXVlIa+1uykSN9cZEhYmY5Fu8tvHaX7m0afe2jdSMXNY5OuLBRE1T m811XW4dWqXAHu8iJwof8g1wIBxLb/z2Tg4FkcT/fFE+QI/yW33gpHJB0M74dp8+Eg0R bJf8zvPFouyBK8xrFt7YUqR8FtgTXj5UAjN9Kgyw0LrHsMFen12q87GJfNq7wgT0lH5b BjklTP0bMeWFoJ64EFN570g2QcX6QY5hPDPHXr5+id2jAfUuZuutsK3pOYNht77ZlXNi nzYw== Received: by 10.68.223.234 with SMTP id qx10mr2622861pbc.154.1336522515594; Tue, 08 May 2012 17:15:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.36.225 with HTTP; Tue, 8 May 2012 17:14:55 -0700 (PDT) In-Reply-To: References: From: Simon MacDonald Date: Tue, 8 May 2012 20:14:55 -0400 Message-ID: Subject: Re: Default Enable Plugins To: callback-dev@incubator.apache.org, justinlong@bigfoot.com Content-Type: multipart/alternative; boundary=047d7b15fe0bc6bc7004bf8f65c0 --047d7b15fe0bc6bc7004bf8f65c0 Content-Type: text/plain; charset=ISO-8859-1 Hey Justin, I has been discussed on the list and it looks like the consensus is not to enabled plugins by default. If you want to enable them in your own project you just need to add the following line to onCreate method of the class that extends from DroidGap. *this*.appView.getSettings().setPluginsEnabled(*true*); As for PhoneGap Build support the guys will have to figure out how to expose it via a configuration setting. Simon Mac Donald http://hi.im/simonmacdonald On Tue, May 8, 2012 at 7:27 PM, Justin Long wrote: > Hi Gents, > > A follow up to see if anyone had some good advice/direction for getting > plugins enabled for the Android webview? Sounds like this pull request > doesn't do the trick > https://github.com/apache/incubator-cordova-android/pull/18 > > More than happy to pitch in because this has lots of value, I just need to > know where to start. > > Justin > > > > On Mon, May 7, 2012 at 1:39 PM, Justin Long > wrote: > > > Fair enough, hence the reason to check for risks :) > > > > Where in DroidGap could it possibility fit? Can we develop it so that it > > can be easily configured by platforms including PhoneGap Build? > > > > If you can tell me where to look in DroidGap to write it out, I could > > possibly write a pull request myself and save the team some work. Feel > free > > to ignore my original pull request sitting in GitHub. > > > > > > > > On Mon, May 7, 2012 at 1:34 PM, Patrick Mueller > wrote: > > > >> On Mon, May 7, 2012 at 3:12 PM, Justin Long >wrote: > >> > >>> I'd like to propose that in the Android Cordova project the webview > >>> that is > >>> created enables plugins by default. I wanted to check with the > community > >>> to > >>> see if there were any possible risks, ... > >>> > >> > >> Risks? With browser plugins? Nah, can't imagine that being a problem! > >> > >> I'm being facetious, of course, because "browser plugins" have been a > >> pretty significant attack vector for malware over the years. > >> > >> I'm totally in favor of enabling this, but ... not by default. Worse > >> case, if it can't fit into the existing Android startup configuration > >> somehow, is to enable it with a new plugin. Kinda like I did with the > iOS > >> Remote Web Inspector plugin. Unless it's too late to enable it by the > time > >> the plugin loads - it might well be. > >> > >> Still, in any case, seems like it would be better to allow the user to > >> opt-in to this, instead of having to opt-out. > >> > >> -- > >> Patrick Mueller > >> http://muellerware.org > >> > > > > > --047d7b15fe0bc6bc7004bf8f65c0--