Nicholas Alexander wrote on 27.01.2016 00:40:
On Tue, Jan 26, 2016 at 3:36 PM, Ben Bucksch <ben.buck...@beonex.com <mailto:ben.buck...@beonex.com>> wrote:

    Nicholas Alexander wrote on 26.01.2016 18:02:


        I assume you meant Cordova.


    https://cordova.apache.org/

    Thanks for the suggestion, I'll give it a try.

    I hope it's not using the standard Android WebView, though, is it?
    Because I tried WebView (with a native Android wrapper), and it's
    not working for my app. GeckoView worked (with bugs).

    (Also, WebView uses a different WebKit on every Android version,
    and ancient Androids are stuck with ancient browser engines.
    Impossible to work with.)


Crosswalk (https://crosswalk-project.org/) tries to solve this.

Hey Nicolas,

based on your suggestion, I just tried to port my Firefox OS app to Android using Cordova and Crosswalk. It works fairly nicely. The most difficult part is installing the right Android SDK components. Cordova itself was a cakewalk, and so was crosswalk. They're nice.

Unfortunately, the WebView version that Crosswalk uses appears to have a bug in the CSS columns support. (Google Chrome 26 on the same Android device doesn't have this bug.)

Is there a way to use GeckoView as Cordova runtime plugin? I found
http://infil00p.org/cordova/phonegap/2014/12/12/cordova-mozilla/
https://github.com/infil00p/cordova-mozillaview-engine
but it hasn't been updated since its inception.

Having a GeckoView plugin for Cordova that's easy to install would be a low-hanging fruit for Firefox on mobile. It shouldn't be too hard to implement (see POC above), and would probably fairly quickly give you a large installed base of Gecko. Many (hybrid mobile web) apps would/could start to use it as their runtime, and Gecko would regain relevance on mobile. Of course, it would have to be maintained, at least with fresh builds. But I think it's a quick win for Mozilla on Android.

Ben
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to