Ben Bucksch wrote on 07.04.2016 05:27:
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.
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.
There's a ticket about it being implemented, but I can't find any
documentation on how to use it. It mentions a "bin/create", but I have
no such binary in lib/node_modules/cordova/bin/create. "cordova build
android --release --use-gecko" didn't work, the flag was ignored. Can
anybody shed some light on this? For GeckoView in Cordova to find
widespread use, it would need to be mentioned in the Cordova tutorials.
https://issues.apache.org/jira/browse/CB-3990
http://www.ncalexander.net/blog/2014/07/10/build-your-own-browser-a-maven-repository-for-geckoview/
https://groups.google.com/forum/#!topic/mozilla.dev.webapps/PUm4nx4A3X8
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev