cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: [Android] Why does the CordovaResourceApi require a pluginManager in the constructor?
Date Wed, 04 Jun 2014 23:49:34 GMT
I think I did that just to be dependency-injection friendly. E.g. try not
to deep into nested dependencies.


On Wed, Jun 4, 2014 at 5:37 PM, Joe Bowser <bowserj@gmail.com> wrote:

> Hey
>
> I'm looking at various JIRA issues (one of which makes me want to
> completely re-write Camera), and I'm trying to figure out why the
> CordovaResourceApi needs a plugin manager, since it already has the
> WebView, and each webview has a plugin manager and their own instances
> of plugins.  Is there a reason you would have a different plugin
> manger than the one tied to the WebView?
>
> Any ideas??
>
> Joe
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message