That is the design. CLI calls plugman.fetch and then plugman.install for each installed platform.
The plugin won't get installed (and dependencies won't be resolved) until a platform is added. On Wed, Oct 22, 2014 at 5:15 AM, Sergey Grebnov (Akvelon) < [email protected]> wrote: > Hi, while working on CB-7846 'Fix plugin deletion when dependency plugin > does not exist' [1] I've found out that dependency plugins are not > installed to plugins dir if you don't have any platform installed yet. Is > it by design or something which should be further investigated? > > Related side effect is 'cordova plugins' report different list of plugins > before and after you add a first platform > λ cordova plugin add org.apache.cordova.file-transfer > > λ cordova plugins > org.apache.cordova.file-transfer 0.4.7 "File Transfer" > > λ cordova platform add android > > λ cordova plugins > org.apache.cordova.file 1.3.1 "File" > org.apache.cordova.file-transfer 0.4.7 "File Transfer" > > [1] https://issues.apache.org/jira/browse/CB-7846 > > Thx! > Sergey > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
