cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: [Android] Moving plugins to core namespace
Date Fri, 15 Mar 2013 21:48:24 GMT
On Fri, Mar 15, 2013 at 2:41 PM, Anis KADRI <anis.kadri@gmail.com> wrote:
> What is it that needs to change in the config.xml as far as plugins are
> concerned ? I am hoping they will keep the same name and namespace when
> they get updated, right ?

That's if they get updated.  When they get installed, the entry has to
be added to the config.xml.  Or is that still a manual process?

> The only things that should change when plugins
> get updated is the native/javascript code and maybe dependencies (but
> that's another topic).
>
> As far as naming everything core, I say why not. I wonder if it's not
> preferable to have one directory per plugin instead to make the separation
> even more obvious:
>
> org.apache.cordova.acceleration.Acceleration
> org.apache.cordova.capture.Capture
> org.apache.cordova.file.File
> org.apache.cordova.file.FileTransfer
> org.apache.cordova.file.FileProgressResult
>

I think that actually might be better, but that should probably happen
once we actually get repositories for them all.  I'm just proposing
this as a first step.

Mime
View raw message