I appreciate the follow up, I will also ensure that I subscribe to the mailing list from now on ;)
On Tue, May 8, 2012 at 5:14 PM, Simon MacDonald <[email protected]>wrote: > 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 <[email protected]>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 <[email protected]> >> 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 <[email protected]> >> wrote: >> > >> >> On Mon, May 7, 2012 at 3:12 PM, Justin Long <[email protected] >> >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 >> >> >> > >> > >> > >
