cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Walters <deedu...@gmail.com>
Subject Re: [DISCUSS] Switch BlackBerry 10 Cordova download from WebWorks to NDK
Date Wed, 05 Dec 2012 20:14:11 GMT
Call me old fashioned but I like 9MB downloads better the 900MB :-)

I guess the necessity for this is because unlike WebWorks for OS5-7, the
native libraries are not included in WebWorks for BB 10.

Does the WebWorks packager for BB 10 handle the compilation of native
plugins or do they have to be pre-compiled prior to packaging now?


On Wed, Dec 5, 2012 at 2:02 PM, Gord Tanner <gtanner@gmail.com> wrote:

> Correct. This would be for any cordova BlackBerry 10 APIs (not external
> plugins).
>
> This will allow us the native compile step for Cordova that we don't have
> access to with WebWorks (that other platforms have).
>
> The key for this is flexibility.  Nothing is changing with this now but
> allows us more tools to support BlackBerry 10 Cordova in the future.
>
>
> On Wed, Dec 5, 2012 at 2:53 PM, Drew Walters <deedubbu@gmail.com> wrote:
>
> > Making sure I understand the steps:
> >
> > 1. User downloads and installs BlackBerry 10 Native SDK and Cordova.
> > 2. Executing the create script to create a project will somehow determine
> > if the user has the WebWorks SDK and if not...
> > 3. Clone the WebWorks SDK using git.
> > 4. Build the WebWorks SDK.
> > 5. Update the project.properties for the project to point at the built
> > WebWorks SDK.
> >
> > I would prefer to not dynamically clone and build the WebWorks SDK as
> part
> > of Cordova project creation, seems like that could be prone to issues.
> >
> > I would tend to think the majority of developers would not be building
> > custom plugins for their application. Would the native SDK be required by
> > Cordova end developers if Cordova for BlackBerry 10 contains some native
> > (C++) plugins?
> >
> >
> > On Wed, Dec 5, 2012 at 1:05 PM, Gord Tanner <gtanner@gmail.com> wrote:
> >
> > > Currently for developing for BlackBerry 10 the user needs to download
> and
> > > install the WebWorks SDK.  [1].
> > >
> > > This SDK is opensource and available from github [2] and users are able
> > to
> > > clone and build the SDK with the native development tools available
> [3].
> > >
> > > I would like to switch the BlackBerry 10 platform for cordova to use
> the
> > > NDK and clone WebWorks from github.  The only difference a cordova
> > > developer would notice would be what download we tell them to install
> in
> > > the documentations, everything else would be handled by the
> ./bin/create
> > > script and ./cordova/* scripts pointing where the WebWorks SDK lives.
> > >
> > > This preps us to have the tools available on the developers machine to
> > > build any native extensions that may or may not be needed for
> BlackBerry
> > 10
> > > development.
> > >
> > > [1] https://developer.blackberry.com/html5/download/
> > > [2] https://github.com/blackberry/BB10-Webworks-Packager
> > > [3] http://developer.blackberry.com/native/beta/
> > >
> >
>

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