> -----Original Message-----
> From: Jonathan Bond-Caron [mailto:jbo...@gdesolutions.com]
> Sent: Wednesday, December 04, 2013 11:47 PM
> To: dev@cordova.apache.org
> Subject: RE: Cordova and Crosswalk
> 
> On Tue Dec 3 08:40 AM, Hu, Ningxin wrote:
> > Your thoughts about the integration?
> > Is it possible to support Crosswalk runtime as a platform in Cordova
> > upstream?
> >
> > [2]: https://github.com/crosswalk-project/crosswalk-cordova-android
> 
> It looks really awesome, can't wait to try it out.
> 
> I have some concerns about more platforms and the terminology.

Sorry for the confusion due to the terminology.

> Android should be considered as the platform,  maybe Cordova needs a new
> flag, -engine?
> 

I agree with your idea. Treating Crosswalk on android as an engine option for 
android platform makes sense to me.

> e.g. cli perspective
> > cordova prepare android
> #uses WebView of OS
> > cordova prepare android -engine crosswalk           #uses Crosswalk
> > cordova prepare android -engine ChromeView     #uses ChromeView
> bundled jar
> 
> That could solve some issues with windows 8:
> e.g.
> > cordova prepare windows8
> > cordova prepare windows8 -engine v8.1              #uses/injects 8.1
> code
> > cordova prepare windows8 -engine crosswalk    #uses Crosswalk?
> 
> Putting this idea out there, might make the maintenance easier.
> Problem for me is terminology of crosswalk as a platform, it's more like an 
> engine
> that sits on top of the OS.

So do you agree that the first step is to make Cordova Android engine 
exchangeable?

Thanks,
-ningxin

Reply via email to