I mostly agree with Braden, except would like to see a top-level CLI command to do that automatically. `cordova upgrade` could re-add installed platforms and plugins in a temporary location, and swap it into your project root only if it completes successfully, and also moving your old version into a backup somewhere, in case your testing shows something is broken.
This process absolutely relies on platforms and plugins as build artifacts, and having all your platform customizations implemented as plugins or prepare hooks (just like all the good devs like @devgeeks do it). Trying to do it any other way is going to be an uphill battle, since our current upgrade process is really quite brittle, and I'm not sure we can make it work well any time soon. -Michal On Thu, Feb 6, 2014 at 11:56 AM, Josh Soref <[email protected]> wrote: > Ian wrote: > >I'm not sure what you mean by "misusing" the exec API. Do you mean that > >the > >JS side of the plugin was using the exec bridge in some undocumented way? > > Exec is an async api, but due to bugs in the underlying BlackBerry 10, the > implementation of blackberry¹s exec function was sync. > > Some plugins were written exposing sync APIs and calling exec in a way > that relied on it working synchronously. > >
