cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Aliases for 'core' plugins
Date Tue, 23 Jul 2013 19:07:13 GMT
Yet another option is perhaps some yeoman generator or something:

Do you want to use Camera? [y/n]
...

-Michal


On Tue, Jul 23, 2013 at 2:52 PM, Shazron <shazron@gmail.com> wrote:

> In our testing we use the dependencies-plugin for cordova-mobile-spec to
> load all the core plugins. Not sure if its portable for general use though
> (pathing):
>
> https://github.com/apache/cordova-mobile-spec/blob/master/dependencies-plugin/plugin.xml
>
>
> On Tue, Jul 23, 2013 at 11:37 AM, Michal Mocny <mmocny@chromium.org>
> wrote:
>
> > One thing you could do today, Ray, is create a plugin which lists all the
> > plugin dependencies you want, then only add that one whenever you create
> a
> > new project.
> > If you would like, you could even publish that plugin as a
> > "cordova-core-useful-plugins" plugin or under some such name.
> >
> > Otherwise, I do think the intended way to solve this problem is with our
> > plugin repository: http://plugins.cordova.io/.  I'm not sure that we
> > support it yet, but I think we plan to give you CLI access to that repo
> so
> > you can easily add plugins by name.
> >
> > -Michal
> >
> >
> > On Tue, Jul 23, 2013 at 2:23 PM, Ray Camden <raycamde@adobe.com> wrote:
> >
> > > One of the things I discovered while working with a virgin 3.0 project
> is
> > > that everything that used to be core now needs to be added before you
> use
> > > it. This is expected of course, but it might come as a surprise to
> > > developers migrating from 2.9 to 3. Now they have to add the camera
> > > plugin, the X plugin, etc, before they can use it.
> > >
> > > Would it make sense to simplify this? For example, to add Camera
> support
> > > to my app I have to do:
> > >
> > > phonegap local plugin add
> > > https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
> > >
> > >
> > > There is no way in heck I'm going to remember that url. It would be
> cool
> > > if I could just do:
> > >
> > > phonegap local plugin add camera
> > >
> > > or even better:
> > >
> > > phonegap local plugin add camera,device,geolocation,dialogs
> > >
> > > Crazy? If folks think it makes sense I'll file an ER for it.
> > >
> > >
> >
>

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